Fionnbarr
Forum Replies Created
-
Forum: Plugins
In reply to: [PayPal for WooCommerce] PayPal Express Checkout – Error Code: 10431I’m very familiar with this problem from software I wrote some years ago and am posting this in case it would help.
Currency has to be displayed rounded to 2 places of decimals for people to read it. This isn’t accurate enough however and will give for example (using the Irish standard VAT of 23%) a price of 9.99 on a pre vat price of 8.13 or 10.01 on a price of 8.14, ie it’s impossible using 2 places of decimals to get a price of 10.00 including VAT. We get over this by rounding behind the scenes to 4 places of decimals (can still throw up the odd strange price, 6 places would be better but for us 4 is enough)
This approach can lead to a situation where what’s displayed on screen won’t add up to the calculation done by the software – rounding errors.
This seems to be the problem here. I know nothing about Woocommerce apart from being a user but wonder would the following help?
Find how many places Woo rounds to
Using this re-create the final total Woo comes up with (the total behind the display so to speak) and get the plugin to use this figure for comparison. Knowing the number of rounding places in use (seems to be 6) it should always be possible to make the two match.
In case that’s of help!
Fionnbarr
Forum: Plugins
In reply to: [PayPal for WooCommerce] PayPal Express Checkout – Error Code: 10431Hi guys
Just a “me too” on this issue – It’s driving me nuts and costing a lot of lost revenue. We have a lot of rounding – with a standard VAT rate of 23% it is a necessity to get either a 9.99 or 12.00 type of price.
Will really appreciate it being fixed 🙂
As an aside we were put onto this plugin by PayPal themselves, the older one (which didn’t feature PayPal Express) didn’t have this problem
Thanks in advance 🙂
Fionnbarr