Hi,

When allowing Group Discounts my order total is incorrect as I get the following:
Sub-Total: £100.00
Group Discount (10%): -£10.00
Shipping: £10.00
UK VAT (20%): £20.00
Total: £122.00 (This should be £120)
The difference is always equal to Group Discount Amount x VAT (20%) in this instance £10 * 20% = £2. This can be reproduced with any values.

I do NOT have the same issue with discount coupons and the total is correct.

My set-up is as follows:

Zen Cart V1.3.9h (Upgrade from 1.3.8a)

Group Discount

This module is installed
true

Sort Order
280

Include Shipping
false

Include Tax
false

Re-calculate Tax
Credit Note

Tax Class
VAT
The order of my Order Total Modules is as follows:

Sub-Total (ot_subtotal)
Group Discount (ot_group_pricing)
Discount Coupon (ot_coupon)
Shipping (ot_shipping)
Tax (ot_tax)
Total (ot_total)
If by the way I set "Re-calculate Tax" to "Standard" I then get an incorrect VAT amount:
Sub-Total: £100.00
Group Discount (10%): -£10.00
Shipping: £10.00
UK VAT (20%): £19.80 (Should be £20)
Total: £119.80 (Should be £120)
I had no problem with V1.3.8a but I had "Re-calculate Tax" set to "Standard". I did however have the various fixes installed which had long been discussed for that version.

I do have the EU VAT Mod and Hem's Display Prices Incl/Excl VAT mod installed but I have removed both and I still seem to have the problem.

Hours and hours of frustration have yielded no results so as usual I'm hoping someone can put me out of my misery.

Kind regards,

Brent