Index: modules/ecommerce/tax/tax.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/ecommerce/tax/tax.module,v
retrieving revision 1.6
diff -u -r1.6 tax.module
--- modules/ecommerce/tax/tax.module	23 Oct 2005 18:47:54 -0000	1.6
+++ modules/ecommerce/tax/tax.module	2 Dec 2005 05:20:20 -0000
@@ -77,7 +77,10 @@
             break;
           case 'state':
             if ($billing->state) {
-              if ($states[$billing->state] == $rule->realm_value && tax_rule_product_match($txn, $rule)) {
+              if ($billing->country == 'us') {
+                $billing->state = $states[$billing->state];
+              }
+              if ($billing->state == $rule->realm_value && tax_rule_product_match($txn, $rule)) {
                 if ($tax = tax_calculate($taxable_amount, $rule->operand, $rule->operator)) {
                   $total_tax += $tax;
                 }
