First thing to do it to have the setting in Tea Commerce general setting - "Prices in DB incl. VAT" NOT checked. Always calc and have prices without VAT in the system/DB. Much more easy to understand and to debug. Try this and of course change your codes to handle this and then check if its still a problem. Some times its just ones head that cant handle the calculations of VAT :)
If its still a problem we will of course have to look more into it.
Be sure to check the country specific VAT at the VAT group as well. Maybe a value here that overrides the one you would expect it to use. Or check if a specific VAT group is selected for the shipping method and its currency.
Ok, i had to take a step back and review the settings and the dynamic price calculation. It turned out to be a chain of things, but now it is starting to look good.
I had the same issue and it caused rather a panic.
Transpires that 0 rate VAT was applied to the shipping method.
It did do someting strange though. The processed order from PAYPAL didn't apply VAT to the shipping and teacommerce did but handled it by putting a negative amount amount against the Payment Collumn of -60p.
Shipping Fee is not properly calculated
Hi
I use dynamic shipping, and somehow the shipping fee with VAT gets tangled up. This is my orders shipping property:
As you can see is the FeeVAT is 25% of the FeeWithoutVAT, but those 16,25 is never added to the Fee. Instead 8,90 is added from somewhere.
To calculate the shipping i just call order.ShippingFeeWithoutVAT = CalculateShipping(order, pageCount);
Am i missing something here?
I mean 3.90, not 8,90
Hi Theodor
First thing to do it to have the setting in Tea Commerce general setting - "Prices in DB incl. VAT" NOT checked. Always calc and have prices without VAT in the system/DB. Much more easy to understand and to debug. Try this and of course change your codes to handle this and then check if its still a problem. Some times its just ones head that cant handle the calculations of VAT :)
If its still a problem we will of course have to look more into it.
Kind regards
Anders
Ok, thanks. I'll have a look at it tomorrow.
Be sure to check the country specific VAT at the VAT group as well. Maybe a value here that overrides the one you would expect it to use. Or check if a specific VAT group is selected for the shipping method and its currency.
Kind regards
Anders
Ok, i had to take a step back and review the settings and the dynamic price calculation. It turned out to be a chain of things, but now it is starting to look good.
Thank you for the help and quick response!
Hi Theodor
Great you found the problem and was able to start fixing it.
Kind regards
Anders
I had the same issue and it caused rather a panic.
Transpires that 0 rate VAT was applied to the shipping method.
It did do someting strange though. The processed order from PAYPAL didn't apply VAT to the shipping and teacommerce did but handled it by putting a negative amount amount against the Payment Collumn of -60p.
How odd.
is working on a reply...