We have a customer experiencing rounding issues when utilizing standard DynamicWeb vouchers. The issue was first identified on 9.15.13, and was not resolved with an upgrade to 9.16.2. Example:
- PROD Solution (running 9.15.3 / 1.22.0) / TEST Solution (running 9.16.2 / 1.22.0)
- ORDER6180 - customer used a 15% off voucher (WELCOME15).
- The expected behavior is:
- Subtotal: 60.50
- Discount: 60.50*0.15 = 9.075
- Total: 60.50-9.075 = 51.425 (rounded to 51.43)
- The actual behavior is:
- Subtotal: 60.50
- Discount: 60.50*0.15 = 9.075 (rounded to 9.8)
- Total: 60.50-9.8 = 51.42
- The expected behavior is:
If we set 'Round orderline discounts per quantity' = False, the total is rounded up to 51.43 which is the desired total, however then the math does not align, as the discount is still rounded:
- Subtotal: 60.50
- Discount: 60.50*0.15 = 9.075 (rounded to 9.8)
- Total: 60.50-9.8 = 51.43 (correct value, but math doesn't add up: 60.50-9.8= 51.42)
Is it possible to not round the discount value?