VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: AndreWE on September 13, 2019, 08:30:42 AM

Title: shipmentTax and paymentTax are not working - SOLVED
Post by: AndreWE on September 13, 2019, 08:30:42 AM
After update from Virtuemart 3.4.2 to 3.6.0 the calculation of both shipmentTax and paymentTax stops working.

If I input only the shipmentTax to see the results ($this->cart->cartPrices['shipmentTax']) it shows "0".

I have tried to update to version "3.6.1.10137" as well, but still the same result.

This means that all orders will be calculated without tax on shipment and/or payment..

Is it only me who experiences this problem?

At the moment I am running both versions, main site is still on 3.4.2, but my test site is 3.6.1.
Main site is working fine, test site not so much.

Can someone please look into this, I recon there is a typo in the code somewhere in the 3.6.0
Title: Re: shipmentTax and paymentTax are not working
Post by: AndreWE on September 13, 2019, 09:14:24 AM
Important, this only apply if tax is calculated as "tax per bill".
I tried to change it to "vat tax per product" and then it calculates shipmentTax correctly.
Title: Re: shipmentTax and paymentTax are not working
Post by: Milbo on September 18, 2019, 11:34:29 AM
Please test http://dev.virtuemart.net/attachments/1185/com_virtuemart.3.6.1.10152_package_or_extract.zip (updated the package again)

It was a kind of typo. But I say directly, the tax per bill cannot provide all features as the per product rules. I am not sure how it handles different taxes for shipments for example and mixed modes wont work correctly in any cases (order editing, and so on)
Title: Re: shipmentTax and paymentTax are not working
Post by: AndreWE on September 25, 2019, 08:36:26 AM
Thanks Milbo.

This solved the issue, shipment and payment taxes are now correct.