Tax by Zip Code using Expresso Store Expression Engine

237 Views Asked by At

I have a store running off of Expresso Store and Expression Engine. Currently they only have Tax based off of the state I need to run my taxes based off of the zip code (for legal purposes). Expresso Store does not offer an out of the box solution for this and I was wondering if there was anyone who has figured this out or may be able to offer any assistance?

Thank you!

2

There are 2 best solutions below

0
On

Apparently Google uses data from these folks -- they offer db- and web service-based lookups. The integration with Expresso is left as an exercise for the reader ;)

0
On

At the moment you would need to write your own extension to have tax based at the zipcode level. The easiest way would be to add a new table that has zipcodes and their respective tax rate. Then with the store_order_taxes ( https://exp-resso.com/docs/extension_hooks.html#tax_hooks ) hook build an extension that checks the customers zipcode and apply the correct tax rate for their address.