En 25/11/2020 a las 3:40 PM, puffdade dijo:if you are using whole number with 2 decimal points IE £24.99 I don't understand why rounding is required it has caused me so much hassle with payment gateways over the last two days its been crazy no matter what setting the sale rounded too £25.00 causing orders through both Worldpay and Viva Wallet to throw an error which in some cases resulted in customers re ordering only to get the same error and a lorry load of phone calls. and of course double payments, I have had 3 weeks of Presta Nightmares
My Dev has disabled rounding totally Im now wondering if that will cause its own issues further down the line, However both payment gateways are working exactly how they should be
Will this cause me issues
Rounding is required as long as you apply VAT or apply discounts.
For example, you have this product:
19,23€ -> 20% VAT -> 3,846€ -> 23,076€
If you round total:
23,076€ -> 23,08 x 2 = 46,16€
If you round each unit:
2x 19,23€ -> 20% VAT -> 7,692€ -> 46,152€
46,152€ -> 46,15€