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


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

/**
 * PayLater.php
 * php version 7.2.0
 *
 * @category Class
 * @package  Xendit
 * @author   Asoka Wotulo <asokawotulo2@gmail.com>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */

namespace Xendit;

use 
Xendit\Exceptions\InvalidArgumentException;
use 
Xendit\Exceptions\ApiException;

/**
 * Class PayLater
 *
 * @category Class
 * @package  Xendit
 * @author   Asoka Wotulo <asokawotulo2@gmail.com>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */
class PayLater
{
    use 
ApiOperations\Request;

    
/**
     * Instantiate relative URL
     *
     * @return string
     */
    
public static function classUrl()
    {
        return 
"/paylater";
    }

    
/**
     * Retrieve list of PayLater plans
     *
     * @param array $params
     * @return array
     * @throws InvalidArgumentException
     * @throws ApiException
     */
    
public static function initiatePayLaterPlans($params = [])
    {
        
$requiredParams = [
            
'customer_id',
            
'channel_code',
            
'currency',
            
'amount',
            
'order_items',
        ];

        
self::validateParams($params$requiredParams);

        
$url = static::classUrl() . '/plans';

        return static::
_request('POST'$url$params);
    }

    
/**
     * Create PayLater transaction / generate checkout URL
     *
     * @param array $params
     * @return array
     * @throws InvalidArgumentException
     * @throws ApiException
     */
    
public static function createPayLaterCharge($params = [])
    {
        
$requiredParams = [
            
'plan_id',
            
'reference_id',
            
'checkout_method',
            
'success_redirect_url',
        ];

        
self::validateParams($params$requiredParams);

        
$url = static::classUrl() . '/charges';

        return static::
_request('POST'$url$params);
    }
    
    
/**
     * Get PayLater Charge by ID
     *
     * @param string $id
     * @param array $params
     * @return array
     * @throws InvalidArgumentException
     * @throws ApiException
     */
    
public static function getPayLaterChargeStatus($id$params = [])
    {
        
$requiredParams = [
            
        ];
        
        
self::validateParams($params$requiredParams);
        
        
$url = static::classUrl() . '/charges/'.$id;
        
        return static::
_request('GET'$url$params);
    }
    
    
/**
     * Create Paylater Refund
     *
     * @param string $id
     * @param array $params
     * @return array
     * @throws InvalidArgumentException
     * @throws ApiException
     */
    
public static function createPayLaterRefund($id$params = [])
    {
        
$requiredParams = [
            
        ];
        
        
self::validateParams($params$requiredParams);
        
        
$url = static::classUrl() . '/charges/'.$id.'/refunds';
        
        return static::
_request('POST'$url$params);
    }
    
    
/**
     * Get Refund by Refund ID
     *
     * @param string $charge_id
     * @param string $refund_id
     * @param array $params
     * @return array
     * @throws InvalidArgumentException
     * @throws ApiException
     */
    
public static function getPayLaterRefund($charge_id$refund_id$params = [])
    {
        
$requiredParams = [
            
        ];
        
        
self::validateParams($params$requiredParams);
        
        
$url = static::classUrl() . '/charges/'.$charge_id.'/refunds/'.$refund_id;
        
        return static::
_request('GET'$url$params);
    }
    
    
/**
     * List Paylater Refunds
     *
     * @param array  $params Paylater Refunds params
     *
     * @return array
     * https://developers.xendit.co/api-reference/#list-paylater-refunds
     * @throws Exceptions\ApiException
     */
    
public static function listPayLaterRefund($charge_id$params = [])
    {
        
$url = static::classUrl() . '/charges/'.$charge_id.'/refunds/';
        
        return static::
_request('GET'$url$params);
    }
    
    
}

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