• Resolved masshoff

    (@masshoff)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter masshoff

    (@masshoff)

    as a followup, I was able to resolve this by changing the global setting in WooCommerce Tax Options > Rounding > “Round tax at subtotal level, instead of rounding per line” – checking this to ON.

    The orders in question did NOT have sales tax being applied, but still the rounding errors seems to have affected the calculations. Still a bug, I think.

    Plugin Author WPClever

    (@wpclever)

    Hi @masshoff ,

    Thank you for very detailed information. We’ve received many reports about the issue with percentage discount and we’re trying positively to fix this. So this might take quite some time as we’re having a really heavy workload. But we promise to try our best to fix this in the fastest time as possible.
    Thanks for your understanding.

    [ Signature deleted ]

    • This reply was modified 4 years, 11 months ago by Jan Dembowski.
    Plugin Author WPClever

    (@wpclever)

    Hi @masshoff ,

    Our developer responded that for your case, they might need to look further into the code file of your site to find a cause. Kindly visit us via this page and create a new ticket to contact to our developers. They’ll help you adjust the code file.

    Since you’ll contact them via our support forum, I’ll mark this one as resolved.

    [ Signature deleted ]

    • This reply was modified 4 years, 11 months ago by WPClever.
    • This reply was modified 4 years, 11 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rounding Error Composite with % off’ is closed to new replies.