A client of us had a very annoying bug which we can't figure out. It involves discount and tax in the quote.
It happens when an item in the cart get discount applied. The discount will be applied as it should. But the tax of the discount is also given as a extra discount.
this is a difference of 0,86 euro. Which happens as follows:
4,95 euro discount is considered including tax (121%)
0,86 is the amount of tax on the discount 0,86 euro = (4,95 / 1.21) * 0.21
What we have tried
- Both coupons and pricerules apply
- Customer group does not matter
- Both the frontend and the backend have this problem.
- The problem appeared when we updated from magento 18.104.22.168 to 22.214.171.124
- All prices are including tax
- All settings are checked at all levels
- Turn off all modules
Can anybody help me?