Amounts do not match
-
When performing the Do Capture from the order edit page, it returns an error saying the amounts do not match and the total of the order changes (removes some from teh Tax amount).
Obviously this is quite an issue.
-
Me too!! Several hours fixing a website of a client and finally the problem is about the plugin 🙁
Hey @japandev and @rubiworks – Can you check that you are on PayPal Express 1.4.4+? That fix would have addressed PayPal error 10431 (the amounts don’t match). Let me know if this isn’t the case.
1.4.4
Fix – PayPal error (10431).
Thanks!
I’m getting Paypal error 10431 after using a coupon code.
WooCommerce PayPal Express Checkout Gateway version 1.4.5
Hey @ivan, @japandev, @rubiworks,
We’ve recently seen a spike in 10413 errors for PayPal Pro, although these should have been addressed already for PayPal Express Checkout as can be seen here: https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/312
If you’re wondering what the 10413 error code means, have a look at the following: https://developer.paypal.com/docs/classic/api/errors/#10413
Let us know the following:
* What kinds of products added to your cart?
* Shipping setup?
* Do you have taxes applied?If you could all please put in a support ticket, it would be super helpful in helping us troubleshoot the issue.
Thank you!
-
This reply was modified 8 years, 6 months ago by
Erica K. a11n.
Hi @piratepenpen,
I’m having 10413 error code on my checkouts with coupon code. Please I would really appreciate some help urgently – this error kicked in around the time I was running Cyber Monday promos!!
My site is https://tinyknots.tk
The steps to reproduce are:
1. Add any 2 (or more) items to basket (say, Hervana and Peyton)
2. View cart and apply code TEST20
3. Click checkout with PayPalYou’ll get —
[Error message: PayPal error (11812): An error (11812) occurred while processing your PayPal payment. Please contact the store owner for assistance. PayPal error (10413): An error (10413) occurred while processing your PayPal payment. Please contact the store owner for assistance.]Error 11812 seems to be a warning so don’t worry about it – but 10413 is an error.
This is my log:
11-29-2017 @ 01:49:07 – WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array
(
[LOGOIMG] =>
[HDRIMG] =>
[PAGESTYLE] =>
[BRANDNAME] => Tiny Knots
[RETURNURL] => https://tinyknots.tk/checkout?woo-paypal-return=true
[CANCELURL] => https://tinyknots.tk/basket?woo-paypal-cancel=true
[LANDINGPAGE] => Login
[SOLUTIONTYPE] => Sole
[PAYMENTREQUEST_0_PAYMENTACTION] => sale
[PAYMENTREQUEST_0_ALLOWEDPAYMENTMETHOD] => InstantPaymentOnly
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
[PAYMENTREQUEST_0_HANDLINGAMT] => 0
[PAYMENTREQUEST_0_CUSTOM] =>
[PAYMENTREQUEST_0_INVNUM] =>
[PAYMENTREQUEST_0_CURRENCYCODE] => SGD
[PAYMENTREQUEST_0_AMT] => 20.64
[PAYMENTREQUEST_0_ITEMAMT] => 20.64
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[NOSHIPPING] => 0
[L_PAYMENTREQUEST_0_NAME0] => Hervana Gold Dangling Earrings
[L_PAYMENTREQUEST_0_DESC0] => A staple in every girl’s jewellery box – a pretty gold dangling earring with black tassel. Trust us, you’re gonna find yourself reaching out for this pair more than you can imagine!
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 13.9
[L_PAYMENTREQUEST_0_NAME1] => Peyton Wooden Tassel Earrings (black)
[L_PAYMENTREQUEST_0_DESC1] => One of our favourites this season! A nice rustic classic piece with wood and felt tassel. Comes in 2 colours.
[L_PAYMENTREQUEST_0_QTY1] => 1
[L_PAYMENTREQUEST_0_AMT1] => 11.9
[METHOD] => SetExpressCheckout
[VERSION] => 120.0
[USER] => shaun.cera_api1.gmail.com
[PWD] => [removed]
[SIGNATURE] => [removed]
)11-29-2017 @ 01:49:09 – WC_Gateway_PPEC_Client::_process_response: acknowleged response body: Array
(
[TIMESTAMP] => 2017-11-28T17:49:08Z
[CORRELATIONID] => a72ba948bc1f3
[ACK] => FailureWithWarning
[VERSION] => 120.0
[BUILD] => 40680762
[L_ERRORCODE0] => 11812
[L_ERRORCODE1] => 10413
[L_SHORTMESSAGE0] => Invalid Data
[L_SHORTMESSAGE1] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE0] => The value of Description parameter has been truncated.
[L_LONGMESSAGE1] => The totals of the cart item amounts do not match order amounts.
[L_SEVERITYCODE0] => Warning
[L_SEVERITYCODE1] => Error
)PS – shipping is free and taxes are already included in the product price
We are getting the same error as shauncera error only occurs during CART page and coupon is inserted.
If you insert the coupon at checkout the error doesn’t occur.
This happens after 1.4.5 update.
-
This reply was modified 8 years, 6 months ago by
CyTechnology.
Hello,
For a quick fix —> https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/pull/341/files
Changing line_subtotal to line_total fixed the issue.
This should now be fixed in the version 1.4.6. The current version is 1.4.7.
Please update. Thanks!
-
This reply was modified 8 years, 6 months ago by
The topic ‘Amounts do not match’ is closed to new replies.