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.
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.