Tax on shipping incorrectly calculated

There appears to be a bug in the shipping tax calculation (using version 2.2.4) when using more then one tax method. Our tax regime has changed by the government so taxes on freight charges are different rate for some areas than the product tax.



I have setup 2 taxes: ProductTax (12%) and FreightTax (5%).

On all products: ProductTax is enabled, FreightTax is disabled

On shipping methods: ProductTax is disabled, FreightTax is enabled



Example order,1 product $49.99 on checkout

Subtotal: $49.99

Freight: $50.00

ProductTax (12%): $6.00

FreightTax (5%): $2.80



the Freight tax should be 5% of $50.00 = $2.50, not $2.80. But for some reason the Freight tax is being calculated on the freight plus ProductTax: 5% of ($50.00 + $6.00) = $2.80.



I have verified several times that ProductTax is disabled under the shipping method, and FreightTax is disabled under the products.



Has anyone encountered this issue? is their a workaround?



Thanks much

Malcolm

Hello Malcolm,



Thank you for your request.



Unfortunately, I have failed to reproduce this problem in the standard CS-Cart installation. Taxes are calculated properly for me. The problem requires examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.



Thank you.





Pavel Zyukin

CS-Cart Support team