LaravelShoppingcart icon indicating copy to clipboard operation
LaravelShoppingcart copied to clipboard

Tax should be calculated by location

Open Nazalas opened this issue 4 years ago • 1 comments

You are only required to charge taxes if the item being purchased is shipped within a state in which your business has nexus, Can you please add a nexus states array in the config and only have the tax calculate if the end user is within one of those states. You would probably need a way to define the state that the user is in. If this is not possible, can we check the state ourselves and enable/disable tax on the fly?

Nazalas avatar Oct 07 '19 16:10 Nazalas

Well you can let your user define his state or obtain it from the shipping address and then apply the tax rate to the CartItem's.

bumbummen99 avatar Oct 13 '19 02:10 bumbummen99