You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user builds a cart while is Non Exempt then realizes they should be exempt and calls my company to have it fixed, we can change them to a valid exempt type ('other'). However, the cart remains taxed as long as the address, products and quantities remain the same.
We have tried updating the quantities and then putting them back. We have tried clearing the cart, all cookies and all browser cache, then logging back in and when any previous combination of address, products and quanities return the previous tax calculation is also returned.
I believe the cleanest solution would be to include the user's tax status in the $request_body property of the Tax_Calculator class. This way when when the transient key is set, it is unique based on whether or not the user is exempt or not.
The text was updated successfully, but these errors were encountered:
I actually see that the request body object already supports an exemption type. The issue is that there isn't one being passed to it. However, this hook makes it easy to force the exemption type. Here's my current solution that works well and still allows for caching.
If a user builds a cart while is Non Exempt then realizes they should be exempt and calls my company to have it fixed, we can change them to a valid exempt type ('other'). However, the cart remains taxed as long as the address, products and quantities remain the same.
We have tried updating the quantities and then putting them back. We have tried clearing the cart, all cookies and all browser cache, then logging back in and when any previous combination of address, products and quanities return the previous tax calculation is also returned.
I believe the cleanest solution would be to include the user's tax status in the $request_body property of the Tax_Calculator class. This way when when the transient key is set, it is unique based on whether or not the user is exempt or not.
The text was updated successfully, but these errors were encountered: