簡體   English   中英

我正在嘗試使用Shippo來獲得在美國境內發送的USPS運送標簽,但似乎無法顯示任何價格

[英]I'm trying to use Shippo to get a USPS shipping label to send within the US, but can't seem to get any rates to appear

這是我的要求:

地址來自:

Array(
[name] => Mr.John
[street1] => 1234 Market Street
[city] => San Francisco
[zip] => 95432
[state] => CA
[phone] => +1 415 123 1234
[email] => mrjohn+test@gmail.com
[country] => US
[object_purpose] => QUOTE
[company] => Shippo

寫給 :

Array(
[name] => Ms. Jane
[street1] => 1234 Mission Street
[city] => San Francisco
[zip] => 91234
[state] => CA
[phone] => +1 415 234 2345
[email] => msjane+test@gmail.com
[country] => US
[object_purpose] => QUOTE
[street2] =>
[company] =>

自訂項目:

Shippo_Object Object(
[_apiKey:protected] => xxxx
[_values:protected] => Array (
    [object_created] => [date]
    [object_updated] => [date]
    [object_id] => xxxxx
    [object_owner] => sender+test@gmail.com
    [object_state] => VALID
    [description] => IPhone 6
    [quantity] => 1
    [net_weight] => 3
    [mass_unit] => lb
    [value_amount] => 450
    [value_currency] => USD
    [origin_country] => US
    [tariff_number] =>
    [metadata] => Order ID #123123
)
[_unsavedValues:protected] => Shippo_Util_Set Object (
    [_elts:Shippo_Util_Set:private] => Array (
    )
)
[_transientValues:protected] => Shippo_Util_Set Object (
    [_elts:Shippo_Util_Set:private] => Array (
        )
)
[_retrieveOptions:protected] => Array (
)

定制運輸:

   Shippo_Object Object( 
[_apiKey:protected] => xxxx
[_values:protected] => Array ( 
    [object_created] => [date]
    [object_updated] => [date]
    [object_id] => xxxxx
    [object_owner] => sender+test@gmail.com
    [object_state] => VALID 
    [certify_signer] => Mr. John
    [certify] => 1 [items] => Array ( 
        [0] => xxxx 
        ) 
    [non_delivery_option] => ABANDON 
    [contents_type] => MERCHANDISE 
    [contents_explanation] => IPhone 6 
    [exporter_reference] => 
    [importer_reference] => 
    [invoice] => #123123 
    [commercial_invoice] => 
    [license] => 
    [certificate] => 
    [notes] => 
    [eel_pfc] =>  
    [aes_itn] => 
    [disclaimer] => 
    [incoterm] => 
    [metadata] => Order ID #123123 
) 
[_unsavedValues:protected] => Shippo_Util_Set Object ( 
    [_elts:Shippo_Util_Set:private] => Array ( 
    ) 
) 
[_transientValues:protected] => Shippo_Util_Set Object ( 
    [_elts:Shippo_Util_Set:private] => Array ( 
    ) 
) 
[_retrieveOptions:protected] => Array ( 
    )
)

我想念什么嗎? 我已經填寫了address_to,address_from,自定義商品和自定義送貨信息。

我來自Shippo團隊!

您通話中的一切似乎都很好。 請仔細檢查您是否已激活USPS帳戶-您可以通過運營商帳戶端點或直接在運營商頁面上對其進行編輯。

由於裝運是國內運輸,因此您無需添加“海關物品”或“海關裝運”信息。 您僅應在創建國際貨件時提供此信息。

從每個電話號碼中刪除+1,這是不必要的,可能會導致問題。

希望對您有所幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM