2

这是我的要求:

地址来自:

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、custom item 和 custom shipping。

4

1 回答 1

4

我是七宝队的!

您通话中的一切似乎都很好。请仔细检查您是否已激活 USPS 帐户 - 您可以通过运营商帐户端点或直接在运营商页面上对其进行编辑。

由于货物是国内的,您不需要添加“海关项目”,也不需要添加“海关运输”信息。您只应在创建国际货件时提供此信息。

从每个电话号码中删除 +1,这不是必需的,并且可能会导致问题。

希望这会有所帮助。

于 2015-11-20T18:46:35.400 回答