Magento/PayPal Conflict - Incorrect rounding - 3 Decimal Places
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A bit out of my depth on this one so please bear with. We are having an issue when it comes to Magento (1.9.3.1) and PayPal Express conflicting the way they workout UK VAT rates in the checkout process.
For example:
An item which is £39.99 (inc-VAT) is inputted to Magento as £33.325 (ex-VAT). To get the £39.99 price Magento simply multiplies £33.325 by 1.2. PayPal however, receives the price of £33.325 and then rounds up to £33.33 as the ex-VAT price. It then multiplies by 1.2 giving the amount of £39.996, which it then in turn rounds up to £40.00.
In the checkout process PayPal is then flagging as error code 10426 "Item total is invalid." Are there any working solutions for this issue around? The issue is isolated to those prices with 3 decimal places ending in a 5. All other prices work correctly.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- PayPal Express Checkout charging incorrect values? in Sandbox Environment
- I met the 422 response, and tries a lot solutions in the community but still not work in REST APIs
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard
- Getting this error from paypal , popup closing automatically itself when it opens in SDKs