I'm using the Tea Commerce Starter Kit and have an issue when changing country, the Order details aren't reflecting the new VAT values at step 4 of the Cart.
The setup is like this:
The default country (New Zealand) has VAT of 15%. Dumping the contents of order shows orderLines have correct VAT values (in xslt at step 1).
At step 2, if I change the country to any other country (which is set up with GST rate of 0%), and proceed to step 3 I correctly see the shipping/payment options that are available for the new country only.
However, proceeding to step 4, the VAT line appears showing 0% which is correct but there is old NZ VAT amount showing there!
Dumping the contents of order in xslt at step 4 shows orderLines still have the NZ VAT amounts associated with them.
Looking at the database, the TeaCommerce_Order table correctly shows VAT at 0.00. However, looking at the TeaCommerce_OrderLine table for that order, the TransactionVAT amount is still 0.15.
Is the TeaCommerce.setCurrentCountry correctly resetting the order and orderline VAT values or am I doing something wrong?
I've checked all that...I don't think that's the issue as the Order table does correctly go to 0 VAT....but the OrderLines table is still showing 15% VAT. Weird.
Would it be possible to send me login to your umbraco installation so I can see how it is setup and how to regenerate the error. Then I can make a simular setup and debug at my place. You can mail us at info (at) teacommerce.dk
If you set up a single VAT Group and change the country specific amounts (in this case NZ = 15%, every other country 0%) the cart is correct.
What I did wrong I think was to set up two VAT Groups, one called 15% that only had NZ as 15% and everything else was left blank. I had a second group called 0% that had every other country set to 0% and NZ blank.
I had then set country, shipping and payment for each country set to one of the two VAT groups (NOT all the same VAT group).
In my installation this caused issues.
However, when I did a fresh install of the starter kit and changed the existing countries to have a similar setup - and it worked. So I cannot replicate the issue in a fresh install.
Glad you got it working! Your first setup - if you dont enter a VAT for a specific country it will inherit the one from the current VAT group - so 15% if its the 15% VAT group the current order is associated with.
But looking forward to your your solution when it goes live - have a great day!
Changing country does not change GST
Hi Anders,
I'm using the Tea Commerce Starter Kit and have an issue when changing country, the Order details aren't reflecting the new VAT values at step 4 of the Cart.
The setup is like this:
The default country (New Zealand) has VAT of 15%. Dumping the contents of order shows orderLines have correct VAT values (in xslt at step 1).
At step 2, if I change the country to any other country (which is set up with GST rate of 0%), and proceed to step 3 I correctly see the shipping/payment options that are available for the new country only.
However, proceeding to step 4, the VAT line appears showing 0% which is correct but there is old NZ VAT amount showing there!
Dumping the contents of order in xslt at step 4 shows orderLines still have the NZ VAT amounts associated with them.
Looking at the database, the TeaCommerce_Order table correctly shows VAT at 0.00. However, looking at the TeaCommerce_OrderLine table for that order, the TransactionVAT amount is still 0.15.
Is the TeaCommerce.setCurrentCountry correctly resetting the order and orderline VAT values or am I doing something wrong?
Cheers, Trevor
Hi Trevor
Have you looked at the "country specific VAT" tab for your countries. Any values in there for the "0 %" VAT group?
I've checked all that...I don't think that's the issue as the Order table does correctly go to 0 VAT....but the OrderLines table is still showing 15% VAT. Weird.
Would it be possible to send me login to your umbraco installation so I can see how it is setup and how to regenerate the error. Then I can make a simular setup and debug at my place. You can mail us at info (at) teacommerce.dk
Kind regards
Anders
I got it working!
If you set up a single VAT Group and change the country specific amounts (in this case NZ = 15%, every other country 0%) the cart is correct.
What I did wrong I think was to set up two VAT Groups, one called 15% that only had NZ as 15% and everything else was left blank. I had a second group called 0% that had every other country set to 0% and NZ blank.
I had then set country, shipping and payment for each country set to one of the two VAT groups (NOT all the same VAT group).
In my installation this caused issues.
However, when I did a fresh install of the starter kit and changed the existing countries to have a similar setup - and it worked. So I cannot replicate the issue in a fresh install.
Sorry to waste your time Anders. Cheers, Trevor.
Hi Trevor
Glad you got it working! Your first setup - if you dont enter a VAT for a specific country it will inherit the one from the current VAT group - so 15% if its the 15% VAT group the current order is associated with.
But looking forward to your your solution when it goes live - have a great day!
Kind regards Anders
Hi Trevor - could you mark the right answer as a solution to your question - would help others to find the solution as easy as possible - thanks
is working on a reply...