silvermoon Posted April 28, 2006 Posted April 28, 2006 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
Guest Posted April 29, 2006 Posted April 29, 2006 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.
silvermoon Posted May 1, 2006 Author Posted May 1, 2006 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.
silvermoon Posted May 1, 2006 Author Posted May 1, 2006 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.
Guest Posted May 1, 2006 Posted May 1, 2006 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.
silvermoon Posted May 5, 2006 Author Posted May 5, 2006 Yep, the entry_state column of the address_book table is totally blank. ???
Guest Posted May 6, 2006 Posted May 6, 2006 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.