!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/ecom1.picotech.app/public_html/vendor/razorpay/razorpay/src/   drwxr-xr-x
Free 29.39 GB of 117.98 GB (24.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Razorpay\Api;

use 
Requests;

class 
Payment extends Entity
{
    
/**
     * @param $id Payment id
     */
    
public function fetch($id)
    {
        return 
parent::fetch($id);
    }

    public function 
all($options = array())
    {
        if(isset(
$options['X-Razorpay-Account'])){

            
Request::addHeader('X-Razorpay-Account'$options['X-Razorpay-Account']);

            unset(
$options['X-Razorpay-Account']);
        }

        return 
parent::all($options);
    }

    
/**
     * Patches given payment with new attributes
     *
     * @param array $attributes
     *
     * @return Payment
     */
    
public function edit($attributes = array())
    {
        
$url $this->getEntityUrl() . $this->id;

        return 
$this->request(Requests::PATCH$url$attributes);
    }

    
/**
     * @param $id Payment id
     */
    
public function refund($attributes = array())
    {
        
$refund = new Refund;

        
$attributes array_merge($attributes, array('payment_id' => $this->id));

        return 
$refund->create($attributes);
    }

    
/**
     * @param $id Payment id
     */
    
public function capture($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/capture';

        return 
$this->request('POST'$relativeUrl$attributes);
    }

    public function 
transfer($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/transfers';

        return 
$this->request('POST'$relativeUrl$attributes);
    }

    public function 
refunds()
    {
        
$refund = new Refund;

        
$options = array('payment_id' => $this->id);

        return 
$refund->all($options);
    }

    public function 
transfers()
    {
        
$transfer = new Transfer();

        
$transfer->payment_id $this->id;

        return 
$transfer->all();
    }

    public function 
bankTransfer()
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/bank_transfer';

        return 
$this->request('GET'$relativeUrl);
    }

    public function 
fetchMultipleRefund($options = array())
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/refunds';

        return 
$this->request('GET'$relativeUrl$options);
    }

    public function 
fetchRefund($refundId)
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/refunds/'.$refundId;

        return 
$this->request('GET'$relativeUrl);
    }

    public function 
createRecurring($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . 'create/recurring';

        return 
$this->request('POST'$relativeUrl$attributes);
    }
    
/**
     * fetch Card Details
     *
     * @param id $id
     *
     * @return card
     */
    
public function fetchCardDetails()
    {
        
$relativeUrl $this->getEntityUrl() . $this->id '/card';

        return 
$this->request('GET'$relativeUrl);
    }
     
/**
     * fetchPaymentDowntime
     *
     */
    
public function fetchPaymentDowntime()
    {
        
$relativeUrl $this->getEntityUrl() . 'downtimes';

        return 
$this->request('GET'$relativeUrl);
    }
    
/**
     * fetch Payment Downtime Id
     *
     * @param id $id
     *
     * @return card
     */
    
public function fetchPaymentDowntimeById($id)
    {
        
$relativeUrl $this->getEntityUrl() . 'downtimes' $id;

        return 
$this->request('GET'$relativeUrl);
    }
    
/**
     * create Payment Json
     *
     * @param array $attributes
     */
    
public function createPaymentJson($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . 'create/json';

        return 
$this->request('POST'$relativeUrl$attributes);
    }
    
/**
     * Submit otp
     *
     * @param id $id
     *
     * @param array $attributes
     */
    
public function otpSubmit($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl(). $this->id '/otp/submit';

        return 
$this->request('POST'$relativeUrl$attributes);
    }

    
/**
     * Generate otp
     *
     * @param id $id
     *
     * @param array $attributes
     */
    
public function otpGenerate($id)
    {
        
$relativeUrl $this->getEntityUrl(). $id '/otp_generate';

        return 
$this->request('POST'$relativeUrl);
    }

    
/**
     * Resend otp
     *
     * @param id $id
     *
     * @param array $attributes
     */
    
public function otpResend()
    {
        
$relativeUrl $this->getEntityUrl(). $this->id '/otp/resend';

        return 
$this->request('POST'$relativeUrl);
    }
    
    public function 
createUpi($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . 'create/upi';

        return 
$this->request('POST'$relativeUrl$attributes);
    }

    public function 
validateVpa($attributes = array())
    {
        
$relativeUrl $this->getEntityUrl() . 'validate/vpa';

        return 
$this->request('POST'$relativeUrl$attributes);
    }

    public function 
fetchPaymentMethods()
    {
        
$relativeUrl 'methods';

        return 
$this->request('GET'$relativeUrl);
    }
}

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