有很多关于这个错误的帖子,但它们都不适用于我。我真的不明白为什么金额不匹配。我有与 AMT0 * QTY0 匹配的 ITEMAMT。AMT 匹配 ITEMAMT + SHIPPINGAMT。我一遍又一遍地检查文档,它确实应该以这种方式工作。当我完全删除它的运输时,它就起作用了......
结帐网址中的 AMT 也是 73.9。
我真的希望有人熟悉这个非常令人困惑的错误,并且知道我做错了什么......
提前致谢
Array
(
[TIMESTAMP] => 2013-01-24T22:56:09Z
[CORRELATIONID] =>
[ACK] => Failure
[VERSION] => 62.0
[BUILD] => 4181146
[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
)
Array
(
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[L_PAYMENTREQUEST_0_NAME0] => XXXX
[L_PAYMENTREQUEST_0_NUMBER0] => 30533
[L_PAYMENTREQUEST_0_DESC0] => XXXX
[L_PAYMENTREQUEST_0_AMT0] => 30.95
[L_PAYMENTREQUEST_0_QTY0] => 2
[PAYMENTREQUEST_0_ITEMAMT] => 61.9
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPPINGAMT] => 12
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
[PAYMENTREQUEST_0_AMT] => 73.9
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[REQCONFIRMSHIPPING] => 1
[PAYMENTREQUEST_0_SHIPTOSTREET] => XXXX
[PAYMENTREQUEST_0_SHIPTOCITY] => XXXX
[PAYMENTREQUEST_0_SHIPTOSTATE] => XX
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => XX
[PAYMENTREQUEST_0_SHIPTOZIP] => XXXXXX
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => XXXXXXXX
)