-1

我正在使用 PayPal 快速结帐,并且遇到折扣代码问题。以下是我的参数:

PAYMENTREQUEST_0_CURRENCYCODE=CAD
&L_PAYMENTREQUEST_0_NAME0=test
&L_PAYMENTREQUEST_0_NUMBER0=
&L_PAYMENTREQUEST_0_AMT0=125.00
&L_PAYMENTREQUEST_0_QTY0=1
&PAYMENTREQUEST_0_ITEMAMT=125.00
&PAYMENTREQUEST_0_TAXAMT=0.00
&PAYMENTREQUEST_0_SHIPPINGAMT=0.00
&PAYMENTREQUEST_0_SHIPDISCAMT=0.00
&PAYMENTREQUEST_0_HANDLINGAMT=12.50
&PAYMENTREQUEST_0_AMT=112.50

它返回以下错误

Array ( [TIMESTAMP] => 2013-09-02T08:45:26Z [CORRELATIONID] => b5acd1c6276c4 
[ACK] => Failure 
[VERSION] => 85.0 
[BUILD] => 7539191 
[L_ERRORCODE0] => 10413 
[L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional     error messages for details. 
[L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.    [L_SEVERITYCODE0] => Error ) 

任何人都可以帮忙吗?

4

1 回答 1

0
PAYMENTREQUEST_0_CURRENCYCODE=CAD
&L_PAYMENTREQUEST_0_NAME0=test
&L_PAYMENTREQUEST_0_NUMBER0=
&L_PAYMENTREQUEST_0_AMT0=125.00
&L_PAYMENTREQUEST_0_QTY0=1
&PAYMENTREQUEST_0_ITEMAMT=125.00
&PAYMENTREQUEST_0_TAXAMT=0.00
&PAYMENTREQUEST_0_SHIPPINGAMT=0.00
&PAYMENTREQUEST_0_SHIPDISCAMT=0.00
&PAYMENTREQUEST_0_HANDLINGAMT=12.50
&PAYMENTREQUEST_0_AMT=137.50
于 2013-10-12T06:54:30.213 回答