Session Storage:
{{ sessionStorageData }}
Location A: {{ locationA ? JSON.stringify(locationA) : 'Not loaded' }}
Location B: {{ locationB ? JSON.stringify(locationB) : 'Not loaded' }}
API Status: {{ apiStatus }}
Select a container to test the flow without scanning a QR code:
Please scan the QR code on the container to bind it to this delivery.
Container ID: {{ containerInfo.container.id }}
Status: {{ containerInfo.container.status }}
Address: {{ locationA.address }}
Details: {{ locationA.address_details }}
Contact: {{ locationA.contact_name }}
Phone: {{ locationA.contact_phone }}
Address: {{ locationB.address }}
Details: {{ locationB.address_details }}
Contact: {{ locationB.contact_name }}
Phone: {{ locationB.contact_phone }}
Current selection: Fast Delivery (SF Express) Normal Delivery (ZTO Express)
Fast delivery uses SF Express for quicker service. Normal delivery uses ZTO Express for standard service.
Delivery Fee: Calculating... ¥{{ deliveryFee.toFixed(2) }} API Price Default Price {{ priceError }}
Container Deposit: ¥{{ depositAmount.toFixed(2) }}
Total Amount: ¥{{ (deliveryFee + depositAmount).toFixed(2) }}
Estimated Pickup Time: {{ estimatedPickupTime }}
Estimated Delivery Time: {{ estimatedDeliveryTime }}
Last API Call: {{ lastPriceApiCall || 'None' }}
Price Source: {{ priceFromApi ? 'Kuaidi100 API' : 'Default Value' }}
Status: {{ priceApiStatus }}
From Address (API): {{ lastApiFromAddress || 'Not set' }}
To Address (API): {{ lastApiToAddress || 'Not set' }}
{{ JSON.stringify(priceApiResponse, null, 2) }}
{{ error }}
Error Type: {{ apiErrorDetails.type || 'Unknown' }}
HTTP Status: {{ apiErrorDetails.http_code || 'N/A' }}
Message: {{ apiErrorDetails.message || 'No message provided' }}
Order ID: {{ orderResponse.delivery_order.id }}
Dada Order ID: {{ orderResponse.dada_response.dada_order_id }}
Service Type: {{ fastDelivery ? 'Fast Delivery (SF Express)' : 'Normal Delivery (ZTO Express)' }}
Status: {{ orderResponse.delivery_order.status }}
Created At: {{ orderResponse.delivery_order.created_at }}