We recently migrated this site to a new server, previously everything had been working OK. I have a mirror of this site on another server, and this problem does not happen?!
Since the migration to the new server I have had to fix a few issues. However, this latest has me confused... let me try and explain.
We have some Basket Rules / Voucher Codes applying 10% or 15% discounts on selected items.
When applying the code, the correct discount is applied at checkout, everything seems to work fine. Until after checkout, in the Back Office > Orders, although the order total is correct, the discount total is wrong as it appears that it has calculated this WITH TAX? Essentially giving the customer a larger discount.
Also the same can be seen in the Order Confirmation email received, WRONG discount is calculated as the TAX has been included in the calculation, but order total is correct?
Please see the attached images to perhaps understand this problem better? If you look at the Order Confirmation Email, you can see the Products Total is calculated with tax, hence the wrong discount total?
Like I say, the site has been working fine on other servers, so I am at a loss as to why this is happening?
Many thanks in advance,
NB: Please see the attached screen grabs to gain a better understanding of what is happening.