I am using ZenCart 1.3.7 and am not seeing any error messages. This is an issue with calculations of sales tax.
ZenCart's method of calculating tax appears to be to this (based on my experiments):
- Take each line item in an order
- Calculate the tax on that line, truncating to 2 significant figures
- Add all the calculated subtaxes together to produce the total tax on the order
On my web site, it's possible to order up to 10 different items, all of which cost $6. The sales tax rate I use (for California) is 8.75%. 8.75% of $6 is $0.5250, which should produce a tax of $5.25 on this $60 order. However, because ZenCart truncates the individual tax figures instead of rounding them, or instead of calculating the tax once on the full order amount, when it adds up 10 instances of $0.52, it produces a tax of $5.20. On orders with a large number of small items, this process will unpredictably underestimate the sales tax. I can submit spreadsheets demonstrating the calculations if desired. When I order 3 copies of a $20 item, the sales tax is correctly calculated.
I respectfully request a fix in which more than 2 significant figures are used to calculate sales tax, and rounding rather than truncation is used for display. Undercollecting the sales tax could subject our site to penalties from the CA State Board of Equalization.
Bookmarks