贝宝购物车中的商品总金额与订单金额不符 [英] Paypal The totals of the cart item amounts do not match order amounts

查看:98
本文介绍了贝宝购物车中的商品总金额与订单金额不符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从PayPal doExpressPayment请求中收到此响应.

I´m getting this response form a PayPal doExpressPayment request.

有人可以指出请求中的错误在哪里吗?

Can anyone point me where is the error on the request?

Array
(
    [errors] => Array(
    [TIMESTAMP] => 2012-12-11T16:58:29Z
    [CORRELATIONID] => 6fc8ed447aeb7
    [ACK] => Failure
    [VERSION] => 63.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
    )
)

[request] => PAYMENTREQUEST_0_ITEMAMT=43.99
             &PAYMENTREQUEST_0_SHIPPINGAMT=5.30
             &PAYMENTREQUEST_n_TAXAMT=2.46
             &PAYMENTREQUEST_0_AMT=51.75
             &PAYMENTREQUEST_0_INSURANCEAMT=0
             &PAYMENTREQUEST_0_PAYMENTACTION=Sale
             &L_PAYMENTREQUEST_0_NAME0=Six+Snowmen+at+Your+Hipline
             &L_PAYMENTREQUEST_0_QTY0=1
             &L_PAYMENTREQUEST_0_DESC0=Six+Snowmen+at+Your+Hipline
             &L_PAYMENTREQUEST_0_AMT0=43.99
             &VERSION=63.0

推荐答案

&PAYMENTREQUEST_n_TAXAMT=2.46

我认为这应该是:

&PAYMENTREQUEST_0_TAXAMT=2.46

这篇关于贝宝购物车中的商品总金额与订单金额不符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆