Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sales Tax Issue


silvermoon

Recommended Posts

Posted

I have been working out of an OSC cart for just about a month now. I am set up to have sales tax calculated for orders in Illinois. I have had previous orders where this functionality worked fine, but in a recent order today, no tax was calculated. Is anyone esle experiencing this problem? Anyone have any insight? I've verified that the tax zone and tax rate is set up properly. Any help would be greatly appreciated.

 

Many thanks...

Sue

Posted

depends how you create an account. The code checks if the zone is within the tax table. The problem is with the default create account (or edit delivery/payment options) you can get an edit box for the states. So now someone can mispell the state, then the code assumes the state entered is not in the tax/shipping tables and does not charge shipping.

 

There are contributions that force drop-down lists instead of edit box for the states to get around this problem.

Posted
depends how you create an account. The code checks if the zone is within the tax table. The problem is with the default create account (or edit delivery/payment options) you can get an edit box for the states. So now someone can mispell the state, then the code assumes the state entered is not in the tax/shipping tables and does not charge shipping.

 

There are contributions that force drop-down lists instead of edit box for the states to get around this problem.

Posted

We are already forcing the State dropdown so I'm not sure what the deal is???

 

 

 

depends how you create an account. The code checks if the zone is within the tax table. The problem is with the default create account (or edit delivery/payment options) you can get an edit box for the states. So now someone can mispell the state, then the code assumes the state entered is not in the tax/shipping tables and does not charge shipping.

 

There are contributions that force drop-down lists instead of edit box for the states to get around this problem.

Posted

do you also validate the form parameters during the "action" switch? Because someone could still post the form and manipulate the zone identifier of the drop-down list.

 

So for example lets say the list has state id 1-5 what happens if he passes 6 or 0 with the other form parameters.

 

So I would say check the address_book table check column entry_state. That column should be empty for all entries if you're using the drop-down list for states effectively.

Posted

ok create a test account place an order is the tax calculated? If it does your cart is working but maybe some "customer" was messing around with the form.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...