Michael K
(@mikkamp)
Automattic Happiness Engineer
Hi,
It would be helpful to get a better understanding of which tax rates you have setup. It’s best to setup each rate per state. For example on my test site I have something like the following setup:
CA AB 5% GST priority 1
CA BC 5% GST priority 1
CA BC 7% PST priority 2
…
In that case if the customer matches Alberta (AB). It shows only the priority one rate for Alberta which is 5% GST. If the customer matches British Columbia (BC), it will show the both priority 1 and priority 2, which is 5% GST and 7% PST.
If I understand your settings correctly you mentioned you had set both the taxes for BC with a priority of 2. That would be incorrect because only 1 priority number is shown per location. So each location would need multiple priority numbers if it is to show multiple taxes.
Thank you for your reply Michael. I’ve updated this to be the priorities you stated, and you were correct, I didn’t have it like that. However, now it just adds GST & PST to anything and everything. It’s correct when I’ve entered in a BC address but doesn’t re calculate and remove the PST if I enter an Alberta address. Have you run into this before?
Michael K
(@mikkamp)
Automattic Happiness Engineer
Hi,
Would you be able to copy over the tax rates you are using. Or upload a screenshot of it somewhere. What it sounds like is that it’s not correctly matching the right tax rate location. Are the state codes added in the correct field? Or is it possible that there is a rate which matches all of Canada with a different priority? I’d double check if there are any tax rates set with the state field to * to see if it might be matching one of those when you change the state.
I’ve uploaded it, hopefully this works. My assumption of how I’ve set it up is that I’ve placed an * under Postcode/ZIP and City as I’d like all areas in the state that I’ve provided to have this applied. The only other one I’m not 100% sure of is the Compound section.
Michael K
(@mikkamp)
Automattic Happiness Engineer
Thanks for providing a copy of the tax rates. Those all look like they are setup correctly. I have pretty much an identical setup on my test site.
If it’s not recalculating at the checkout when the address is changed then something might be conflicting there. Normally it should send an AJAX request which updates all the order details once the address is changed. So you could check the browser console and see if any JavaScript errors are showing up. If that’s not happening then you might want to try a conflict test, the steps for that are outlined here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
You also mentioned that the tax was based on the shipping address. Is that the address you are changing when testing to see if the taxes switch?
con
(@conschneider)
Engineer
Hi there,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Kind regards,