Taxes incorrectly calculated

There is a bug in tax calculation.



I have 7 identical items in my cart @ 409.99$ = 2869.93$

Shipping is free



Here are the taxes CS-Cart calculates:

GST 5% = 143.50$

QST 8.5% = 256.13$



But QST should be 256.14$ (which is [2869.93 + 143.50] * 8.5%



It looks like it calculates as

409.99 + 20.50 (GST) = 430.49$

Then computes QST as 36.59165, which is rounded (which is wrong) to 36.59 then multiplied by the number of items (7) = 256.13



To CS-Cart developers:

Taxes have to be rounded at the end of the calculation. When you use Tax1 to calculate Tax2, you have to use the rounded value of Tax1. And do not multiply the number of items at the end but right at the beginning.



Using CS-Cart V 2.1.2



Paul