Payment requests are often 1 cent off
-
It often happens to me that the plugin is requesting an amount that’s not the order total due to rounding errors.
As an example, I have one product that costs 9,60€ incl. 10% Tax. Now, I have set tax rounding to per-line, not on the subtotal. The net amount is 9,60 / 1,10 = 8,727272… and Woocommerce will round this to 8,73.
So the order total is the following: 8,73 *3 *1,1 = 28,81€, but the plugin is requesting 8,727272 *3 *1,1 = 28,80€.The latter is what I would prefer for the orders anyway, however, when I set round to be done on the subtotal, I also get rounding errors in relation to how the woocommerce seems to calculate the price.
In either case, it’d be great if the requested amount and the order total would match up.
This is on version 5.2.3, and Woocommerce 5.5.1
The topic ‘Payment requests are often 1 cent off’ is closed to new replies.