Incorrect total in the order admin page

Created on 18 September 2013, over 11 years ago
Updated 17 November 2024, 5 months ago

Hi there,

I've been through the old issue queue, and found a lot of similar issues to this but not recently.

I am having VAT added up wrong in the orders admin page. I can't understand why this is, and I don't know enough about the module to write a solution. A screenshot has been attached.

Any ideas?

Kris

💬 Support request
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom rougekris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The totals on the Order Admin page appear to be incorrect. For example, an order with a total of £400 (excluding shipping) shows a subtotal of £320 without VAT. When VAT is added, the module calculates £320 × 1.2 = £384, which doesn’t match the order total of £400. Conversely, calculating VAT downward from £400 as £400 ÷ 1.2 gives a subtotal of £333.33, making the VAT £66.67 instead of £80. These discrepancies arise because the module uses different methods for adding and removing VAT, leading to inconsistent values on the page. You can use the VAT Calculator tool at https://calcvat.uk to double-check VAT calculations for accuracy. This issue needs urgent attention to ensure accurate calculations.

Production build 0.71.5 2024