我们遇到了一个不一致但频繁(大约每天一个)的问题,其中 GetExpressCheckoutDetails 调用的响应缺少 SHIPTONAME
和 PAYMENTREQUEST_0_SHIPTONAME
数组元素。所有其他 SHIP...
和 PAYMENTREQUEST_0_SHIP...
值都存在。以下是示例响应的片段:
[FIRSTNAME] => Redacted
[LASTNAME] => Redacted
[COUNTRYCODE] => AU
[SHIPTOSTREET] => 29 Redacted Road
[SHIPTOCITY] => Redacted Town
[SHIPTOSTATE] => New South Wales
[SHIPTOZIP] => 2321
[SHIPTOCOUNTRYCODE] => AU
...
[PAYMENTREQUEST_0_SHIPPINGAMT] => 9.05
[PAYMENTREQUEST_0_HANDLINGAMT] => 0.00
[PAYMENTREQUEST_0_TAXAMT] => 19.06
[PAYMENTREQUEST_0_SHIPTOSTREET] => 29 Redacted Road
[PAYMENTREQUEST_0_SHIPTOCITY] => Redacted Town
[PAYMENTREQUEST_0_SHIPTOSTATE] => New South Wales
[PAYMENTREQUEST_0_SHIPTOZIP] => 2321
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => AU
客户提供了其 Paypal 帐户的屏幕截图,以证明提供了送货名称(和地址)。我们无法重现这个问题。任何指针表示赞赏。
最佳答案
显然,这是 Paypal 本身的问题。我们收到了以下回复:
关于php - Magento 1.14 中 Paypal GetExpressCheckoutDetails 响应中缺少 SHIPTONAME 数组元素,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30868886/