In the Customer Checkout 2.0, there is a feature to allow rounding at the header level.
For example,
- if the total is 131.11 or 131.12 the requested amount would be 131.10
- if the total is 131.13 or 131.14 the requested amount would be 131.15
What we need to modify is to add a rule to the rounding.
To put rounding ONLY if the customer pay cash. For credit card and debit card, do not do rounding.
How to handle?