403Webshell
Server IP : 158.247.231.215  /  Your IP : 216.73.217.84
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux CTMS 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /mnt/blockstorage/ctms/wp-content/plugins/tutor/ecommerce/PaymentGateways/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /mnt/blockstorage/ctms/wp-content/plugins/tutor/ecommerce/PaymentGateways/PaypalGateway.php
<?php
/**
 * Payment gateway concrete class
 *
 * @package Tutor\Ecommerce
 * @author Themeum
 * @link https://themeum.com
 * @since 3.0.0
 */

namespace Tutor\PaymentGateways;

use Ollyo\PaymentHub\Payments\Paypal\Paypal;
use Tutor\PaymentGateways\Configs\PaypalConfig;

/**
 * Paypal payment gateway class
 */
class PaypalGateway extends GatewayBase {

	/**
	 * Payment gateway root dir name
	 *
	 * @since 3.0.0
	 *
	 * @var string
	 */
	private $dir_name = 'Paypal';

	/**
	 * Payment gateway config class
	 *
	 * @since 3.0.0
	 *
	 * @var string
	 */
	private $config_class = PaypalConfig::class;

	/**
	 * Payment core class
	 *
	 * @since 3.0.0
	 *
	 * @var string
	 */
	private $payment_class = Paypal::class;

	/**
	 * Root dir name of payment gateway src
	 *
	 * @since 3.0.0
	 *
	 * @return string
	 */
	public function get_root_dir_name():string {
		return $this->dir_name;
	}

	/**
	 * Payment class from payment hub
	 *
	 * @since 3.0.0
	 *
	 * @return string
	 */
	public function get_payment_class():string {
		return $this->payment_class;
	}

	/**
	 * Payment config class
	 *
	 * @since 3.0.0
	 *
	 * @return string
	 */
	public function get_config_class():string {
		return $this->config_class;
	}

	/**
	 * Return autoload file
	 *
	 * @since 3.0.0
	 *
	 * @return string
	 */
	public static function get_autoload_file() {
		return tutor()->path . 'ecommerce/PaymentGateways/Paypal/vendor/autoload.php';
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit