PayPal错误10413 - 购物车项目金额的总计与订单金额

时间:2016-06-13 10:45:38

标签: paypal shopping-cart

我将以下请求发送给PayPal:

USER=APIUSERNAME&  
PWD=APIPASSWORD&
SIGNATURE=APISIGNATURE&
METHOD=SetExpressCheckout&
VERSION=204&
PAYMENTREQUEST_0_PAYMENTACTION=SALE&
PAYMENTREQUEST_0_AMT=1.11&
PAYMENTREQUEST_0_CURRENCYCODE=EUR&
PAYMENTREQUEST_0_CUSTOM=148&
PAYMENTREQUEST_0_DESC=PayPal+Express+Checkout&
PAYMENTREQUEST_0_INVNUM=145001530&
RETURNURL=returnurl&
CANCELURL=cancelurl&
EMAIL=email%40live.nl&
PAYMENTREQUEST_0_SHIPTONAME=Testperson-nl+Approved&
PAYMENTREQUEST_0_SHIPTOSTREET=Neherkade+1XI&
PAYMENTREQUEST_0_SHIPTOCITY=Gravenhage&
PAYMENTREQUEST_0_SHIPTOZIP=2521VA&
PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=NL&
PAYMENTREQUEST_0_SHIPTOPHONENUM=0612345678&
L_PAYMENTREQUEST_0_NAME0=Jackie+O+Round+Sunglasses&
L_PAYMENTREQUEST_0_AMT0=1.11&
L_PAYMENTREQUEST_0_NUMBER0=ace001&
L_PAYMENTREQUEST_0_QTY0=1&
L_PAYMENTREQUEST_0_TAXAMT0=0.19&
PAYMENTREQUEST_0_TAXAMT=0.19

但出于某种原因,我收到以下消息:

  

L_ERRORCODE0 = 10413&安培;       L_SHORTMESSAGE0 =由于参数无效而导致交易被拒绝。有关详细信息,请参阅其他错误消息。       L_LONGMESSAGE0 =购物车项目金额的总数与订单金额不匹配。

我尝试了许多不同的配置(添加项目金额,不含税等)。 那么,任何人都可以帮助我知道我做错了什么?

1 个答案:

答案 0 :(得分:0)

PAYMENTREQUEST_0_AMT =(用户必须支付的总金额)

PAYMENTREQUEST_0_AMT= Everything including Tax,shipping cost, insurance etc