0
我正在嘗試向交易添加TAXAMT。以下是查詢發送的內容:paypal TAXAMT錯誤
&PAYMENTREQUEST_0_PAYMENTACTION=Authorization
&RETURNURL=http://zzz.com/returnurl
&CANCELURL=http://zzz.com/cancelurl
&NOSHIPPING=1
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&L_PAYMENTREQUEST_0_QTY0=1
&L_PAYMENTREQUEST_0_NAME0=Shirt
&L_PAYMENTREQUEST_0_AMT0=89.10
&L_PAYMENTREQUEST_0_TAXAMT0=3.56
&PAYMENTREQUEST_0_TAXAMT=3.56
&PAYMENTREQUEST_0_AMT=92.66
但由於某些原因,它不起作用。當我加入TAXAMT作爲一個正常的項目它經歷:
&PAYMENTREQUEST_0_PAYMENTACTION=Authorization
&RETURNURL=http://zzz.com/returnurl
&CANCELURL=http://zzz.com/cancelurl
&NOSHIPPING=1
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&L_PAYMENTREQUEST_0_QTY0=1
&L_PAYMENTREQUEST_0_NAME0=Shirt
&L_PAYMENTREQUEST_0_AMT0=89.10
&L_PAYMENTREQUEST_0_QTY1=1
&L_PAYMENTREQUEST_0_NAME1=Sales+Tax
&L_PAYMENTREQUEST_0_AMT1=3.56
&PAYMENTREQUEST_0_AMT=92.66
誰能幫我找出問題與TAXAMT。此刻,我碰到下面的錯誤吧:
SetExpressCheckout API call failed.
Detailed Error Message: The totals of the cart item amounts do not match order amounts.
Short Error Message: Transaction refused because of an invalid argument. See additional error messages for details.
Error Code: 10413
Error Severity Code: Error
謝謝。工作很棒:) – Nasko 2012-02-21 11:40:35