Order Total Calculation off by 1 penny
-
Hi WooCommerce Team!
Thanks for reading these tickets – I know you all get a lot of them!
Our issue may be similar to the “Wrong order total calculation by 1 cent” thread but I think there’s a chance it might be slightly different so I wanted to submit it to you all to see.
Here is a screenshot: WooCommerce Rounding or Order Total Calculation Error
As a background, we indeed do have the “Round tax at subtotal level, instead of rounding per line” setting checked in WooCommerce > Tax > Tax Options > Rounding, so is it possible that WooCommerce would take the final numbers (i.e. Items Subtotal ($49.98) + Fees ($35.00) + Shipping ($8.35) + Tax ($5.12)) and make that total = $98.46 instead of $98.45 (what the actual total should be)?
Also, we are using just 2 decimals for the currency.
I wanted to submit a ticket because all of the “Rounding” for this particular Order appears to be correct at the subtotal level and the tax appears to calculate the proper number as well ($5.12), but then the Order Total calculation is what caught my attention because that is where we get off by a penny.
Here is a quick video explaining which I hope may help even just a little: WooCommerce Order Total Calculation Error Explanation for WooCommerce Team.
Thanks for any reply as able!
- You must be logged in to reply to this topic.