News:

Looking for documentation? Take a look on our wiki

Main Menu

shipmentTax and paymentTax are not working - SOLVED

Started by AndreWE, September 13, 2019, 08:30:42 AM

Previous topic - Next topic

AndreWE

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

AndreWE

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.

Milbo

#2
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)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AndreWE

Thanks Milbo.

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