<?php 
// 物流訂單查詢
require '../lib/AllPay.Logistics.Integration.php';
try {
    $AL = new AllpayLogistics();
    $AL->HashKey = 'XBERn1YOvpM9nfZc';
    $AL->HashIV = 'h1ONHk4P4yqbl5LK';
    $AL->Send = array('MerchantID' => '2000933', 'AllPayLogisticsID' => '11796', 'PlatformID' => '');
    $Result = $AL->QueryLogisticsInfo();
    echo '<pre>' . print_r($Result, true) . '</pre>';
} catch (Exception $e) {
    echo $e->getMessage();
}