Hello folks,
I wanted to share something we found that may be considered a ShopSite anomaly. It has to do with how sales tax is determined if you use ZIP code to do so.
We charge sales tax for orders shipped to a ZIP code in PA. The other day, we received an order where there was no sales tax charged and it was shipped to ZIP code in PA.
After a fair amount of testing I found out how this order was placed and uncovered more anomalies in trying to correct or overcome it.
The ZIP code 18901 is in PA. If the customer enters just the five digits, the order gets charged PA sales tax. If one enters "18901 5253", the order gets processed without charging sales tax. I think ShopSite checks the full 10 digits against one of the masks of "18???" in the default zip codes for PA and it determined it did not match and charged the default sales tax of 0%. In my earlier tests to reproduce the problem, I found any extra digit after the first five ZIP codes digits, (for example: "189012") gets seen as no sales tax. However, the digits of "189012" gets flagged as a invalid ZIP code during checkout. But the digits "18901 5253" passes the ZIP validity tests and fails the sales tax test of a valid ZIP code in PA.
My software career tells me that this is a bug, but I'll defer to the ShopSite developers to determine that.
I then set about to see if there was a configuration option that we failed to set up correctly or one I could use that would circumvent this 'issue/bug'. I noticed that the ShopSite > Commerce Setup > Order System has a default length for the ZIP code to be 10 characters. "Haha!" I said to myself. I'll just limit it to five characters. No! Make it six characters, for we have lots of Canadian customers.
So I did.
When I reran the test of "18901 5253" through the shopping cart, it made the ZIP code entry box smaller, showing eight characters, but still allowed the full 10 characters to be entered, passing the valid ZIP code test for PA and did not charge sales tax.
So, now, after banging my head against the configuration wall all morning, I ask for ShopSite help. How can we stop this from happening or is it a bug your developers can fix in a short time?
I will be pleased to provide more data, give you pointers to our demo test environment, or help in any way I can. I'm also open to having my attitude adjusted if you can point out some stupid error I have made.
I also find it interesting that we have been running the ShopSite shopping cart since June of 2012 and this is the first time we saw this error.
Thanks in advance.
FredW