0

我对 SetExpressCheckout paypal nvp 有疑问。我收到以下错误

TIMESTAMP=2014%2d09%2d12T04%3a46%3a48Z&CORRELATIONID=bac06e6e9473d&ACK=Failure&VERSION=112%2e0&BUILD=127 86467&L_ERRORCODE0=10400&L_SHORTMESSAGE0=Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e&L_LONGMESSAGE0=Order%20total%20is%20missing%2e&L_SEVERITYCODE0=Error

我为 setexpresscheckout 传递了以下变量,

&RETURNURL=xxx&CANCELURL=yyy&ALLOWNOTE=1&PAYMENTREQUEST_0_PAYMENTACTION=Sale&L_PAYMENTREQUEST_0_NAME0=Nokia presents the Lumia a feature-rich mid-range smartphone&L_PAYMENTREQUEST_0_NUMBER0=xROwRr6F&L_PAYMENTREQUEST_0_AMT0=50&L_PAYMENTREQUEST_0_QTY0=1&LOGOIMG=mmm&PAYMENTREQUEST_0_SHIPPINGAMT=10&PAYMENTREQUEST_0_TAXAMT=0&PAYMENTREQUEST_0_ITEMAMT=50&PAYMENTREQUEST_0_AMT=60&PAYMENTREQUEST_0_CURRENCYCODE=USD

但是错误说"order total is missing"..所有传递的变量都是正确的吗?

请帮忙!

4

1 回答 1

0

我已经解决了这个问题,因为所有的项目数量,我已经给出了 urlencode 和 returnURL 和 cancelURL,它在传递到贝宝服务器之前被解码。现在我从项目金额中删除了所有 urlencode 并解决了问题。

谢谢!

于 2014-09-12T05:22:13.040 回答