Rounding Error Composite with % off
-
We’ve created a Composite product. Base price is set to $0, discount is set to 25% off, and pricing is set to Exclude base price. When the composite is added to cart, the total is shown as $35.24 – which is an incorrect calculation as the individual products are $11.99, $11.24, $11.99 (the total should be $35.22). The WooCommerce cart total shows $35.23 as the total – so BOTH the composite and Woo calculations are incorrect.
The problem is that when a customer attempts to purchase, an error is returned “Payment error: The totals of the cart item amounts do not match order amounts.” We are able to complete the purchase using Paypal standard, but not using credit cards.
We’ve had quite a few FAILED sales as a result of this issue. We’ve attempted to add a base price of $.01 and include that in the overall composite price, but the rounding errors persist.
- The topic ‘Rounding Error Composite with % off’ is closed to new replies.