Delivery Order

Create Delivery Order

Debug Information

Session Storage:

{{ sessionStorageData }}

Location A: {{ locationA ? JSON.stringify(locationA) : 'Not loaded' }}

Location B: {{ locationB ? JSON.stringify(locationB) : 'Not loaded' }}

API Status: {{ apiStatus }}

Test Mode - QR Code Bypass

Select a container to test the flow without scanning a QR code:

Step 1: Scan Container QR Code

Please scan the QR code on the container to bind it to this delivery.

Container QR Code Scanned Successfully!

Container ID: {{ containerInfo.container.id }}

Status: {{ containerInfo.container.status }}

From (Point A)

{{ locationA.name }}

Address: {{ locationA.address }}

Details: {{ locationA.address_details }}

Contact: {{ locationA.contact_name }}

Phone: {{ locationA.contact_phone }}

Complete Address for Delivery:
{{ getFullAddress(locationA) }}

To (Point B)

{{ locationB.name }}

Address: {{ locationB.address }}

Details: {{ locationB.address_details }}

Contact: {{ locationB.contact_name }}

Phone: {{ locationB.contact_phone }}

Complete Address for Delivery:
{{ getFullAddress(locationB) }}

Kuaidi Service Type

Normal Fast

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.

Order Details

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 }}

Price API Status

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 }}

API Error Details:

Error Type: {{ apiErrorDetails.type || 'Unknown' }}

HTTP Status: {{ apiErrorDetails.http_code || 'N/A' }}

Message: {{ apiErrorDetails.message || 'No message provided' }}

API Logs:
{{ log }}
Back to Home

Order Placed Successfully!

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 }}