I have this:
$sc_WI_tax_variable = "Ecom_ShipTo_Postal_StateProv";
$state_variable = $form_data{$sc_WI_tax_variable};
if ($state_variable =~ /Wisconsin/i || $state_variable == 'WI')
{
$state_tax = ($subtotal *0.055);
}
which adds a 5.5% sales tax to the sale. Unfortunately, it adds 5.5%
sales tax to every sale whether they are from Wisconsin or any other
state. How can I refine this code to add a sales tax for just people from
the great state of Wisconsin.