0
Je travaille avec l'API paypal Express Checkout et j'ai des problèmes.Erreur Paypal 10413
J'ai une demande comme ceci:
METHOD=SetExpressCheckout
...
&L_PAYMENTREQUEST_0_NAME0=Individual%20Gross%20&%20Net
&L_PAYMENTREQUEST_0_AMT0=65.00
&L_PAYMENTREQUEST_0_QTY0=1
&PAYMENTREQUEST_0_AMT=70.26
&PAYMENTREQUEST_0_TAXAMT=5.26
&PAYMENTREQUEST_0_ITEMAMT=65.00
&PAYMENTREQUEST_0_PAYMENTACTION=Sale
&PAYMENTREQUEST_0_CURRENCYCODE=USD
J'ai examiné de nombreuses reprises et voir aucune erreur dans le calcul, mais c'est ce que paypal me envoie.
TIMESTAMP : 2017-03-22T01:41:05Z
CORRELATION ID : e22e8009c7018
ACK : Failure
VERSION : 88.0
BUILD : 31129382
L_SEVERITYCODE0 : Error
Error Code : 10413
Transaction refused because of an invalid argument. See additional error messages for details.
The totals of the cart item amounts do not match order amounts.
se référer http://stackoverflow.com/questions/10191209/paypal-api-the-totals-of-the-cart-item-amounts -Do-not-match-order-montants –
Merci pour cela. Cependant, j'ai trouvé que PayPal a répondu de cette façon parce que je n'ai pas inclus 'L_PAYMENTREQUEST_0_NUMBER0'. Après avoir inclus ce champ, il a été accepté. Je dois dire que le message d'erreur qui m'a été envoyé m'amène à la mauvaise question. –