jschulte Posted November 24, 2003 Share Posted November 24, 2003 Hey all, I have a question regarding how tax should be calculated for items I am selling. Normally when you make an online purchase, you are only charged sales tax if you live in the same state as the business you purchased the items from. Right? For example: If I live in Vermont and the business I am buying merchandise from is in Vermont, I would be charged 6% sales tax. Now, if the same situation applies but I am shipping the merchandise to an out-of-state address instead, does the sales tax still apply? I'm asking about this because I just set up the tax types in oscommerce and it appears to be calculating the tax based on the shipping address, not the billing address. So here's how it's currently working: * If the billing address and shipping address are both set to Vermont, it will charge tax. * If the shipping address is set to Vermont and the billing address is outside of Vermont, it will charge tax. * If the billing address is set to Vermont and the shipping address is outside of Vermont, it will not charge tax. Shouldn't it be the other way around, or am I wrong about this? Thanks for any help you can offer! -Jonah Link to comment Share on other sites More sharing options...
jschulte Posted November 25, 2003 Author Share Posted November 25, 2003 I managed to fix this problem by making a change to the code in the orders.php class. I basically changed a couple instances of $shipping_address to $billing_address and it works great! Let me know if you need this for your site and I can tell you how to do it. Thanks, Jonah Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.