[Skip to main content](#vessel-content)

#   Order entered with invalid address info

##

- **[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")**
- [![cpaschen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12420-cpaschen "View cpaschen's Profile") Topic Author
- [ Offline](/forum/user/12420-cpaschen)

Less More

- Posts: 196
- Thank you received: 6
-
-
-
- [](http://www.paschencommunications.com)
-

12 years 1 month ago [\#174129](#174129) by [cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")  *[Order entered with invalid address info](/forum/33-customers/872054-order-entered-with-invalid-address-info#174129 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4 -- PHP version -- : 5.4.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  We've had a strange order come through our cart.  The order was applied the wrong shipping amount. It was applied a US shipping rate (using the manual shipping system) even though the address was an international shipping address. (We have one manual shipping for US, one for 'International' and is set-up properly).  After investigating further, it appears that the problem was somewhere in the address entry system.  The address on the order is: ... Southampton New Hampsire United Kingdom  The problem is that &quot;New Hampsire&quot; is not a valid state in &quot;United Kingdom&quot;.  In further testing here we are not able to reproduce this address. Every time we change the country ti UK it automatically changes the state list (and also properly changes the shipping amount).  Can you tell me if you can think of anything that might cause this strange happening? Is it possible for a user to configure their browser in a way that these updates don't take place (i.e. disabling javascript, etc.)?  This is just a perplexing issue that we'd sure like to try to figure out.  Thanks.")* was created by *[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.4
-- PHP version -- : 5.4.31
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : n/a

We've had a strange order come through our cart.

The order was applied the wrong shipping amount. It was applied a US shipping rate (using the manual shipping system) even though the address was an international shipping address. (We have one manual shipping for US, one for 'International' and is set-up properly).

After investigating further, it appears that the problem was somewhere in the address entry system.

The address on the order is:
...
Southampton
New Hampsire
United Kingdom

The problem is that "New Hampsire" is not a valid state in "United Kingdom".

In further testing here we are not able to reproduce this address. Every time we change the country ti UK it automatically changes the state list (and also properly changes the shipping amount).

Can you tell me if you can think of anything that might cause this strange happening?
Is it possible for a user to configure their browser in a way that these updates don't take place (i.e. disabling javascript, etc.)?

This is just a perplexing issue that we'd sure like to try to figure out.

Thanks.

- [ ![CheckoutAddressProblem.png](/forum/attachment/19927) ](/forum/attachment/19927 "...essProblem.png") [ ](/forum/attachment/19927?download=1 "...essProblem.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzIwNTQtb3JkZXItZW50ZXJlZC13aXRoLWludmFsaWQtYWRkcmVzcy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

12 years 1 month ago [\#174161](#174161) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order entered with invalid address info](/forum/33-customers/872054-order-entered-with-invalid-address-info#174161 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4 -- PHP version -- : 5.4.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  We've had a strange order come through our cart.  The order was applied the wrong shipping amount. It was applied a US shipping rate (using the manual shipping system) even though the address was an international shipping address. (We have one manual shipping for US, one for 'International' and is set-up properly).  After investigating further, it appears that the problem was somewhere in the address entry system.  The address on the order is: ... Southampton New Hampsire United Kingdom  The problem is that &quot;New Hampsire&quot; is not a valid state in &quot;United Kingdom&quot;.  In further testing here we are not able to reproduce this address. Every time we change the country ti UK it automatically changes the state list (and also properly changes the shipping amount).  Can you tell me if you can think of anything that might cause this strange happening? Is it possible for a user to configure their browser in a way that these updates don't take place (i.e. disabling javascript, etc.)?  This is just a perplexing issue that we'd sure like to try to figure out.  Thanks.")*

Hi,

The only thing I can think of would be that this person had his javascript turned off in his browser with the "New Hampsire" state selected and the other country from that state selected and then he changed the country to the UK. Since the javascript was disabled, the state dropdown was not refreshed and he was able to enter his address with a state outside of the country.
HikaShop doesn't have any check on that server-side so that's why it went through.
Then, in your shipping methods, you use the country for the zone restrictions and since his address is in the UK, the domestic shipping method was rightfully selected.
But even if the state would have been refreshed and that his state would be the default one of the UK, he would still have paid for domestic shipping while his address would still have been incorrect. So it doesn't change much.
The only solution to avoid that would be to have an integration with an address checking system but it's not ideal either. Most of them don't work worldwide or can be quite expensive for what they do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzIwNTQtb3JkZXItZW50ZXJlZC13aXRoLWludmFsaWQtYWRkcmVzcy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")**
- [![cpaschen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12420-cpaschen "View cpaschen's Profile") Topic Author
- [ Offline](/forum/user/12420-cpaschen)

Less More

- Posts: 196
- Thank you received: 6
-
-
-
- [](http://www.paschencommunications.com)
-

12 years 1 month ago [\#174296](#174296) by [cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")  Replied by *[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")* on topic *[Order entered with invalid address info](/forum/33-customers/872054-order-entered-with-invalid-address-info#174296 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4 -- PHP version -- : 5.4.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  We've had a strange order come through our cart.  The order was applied the wrong shipping amount. It was applied a US shipping rate (using the manual shipping system) even though the address was an international shipping address. (We have one manual shipping for US, one for 'International' and is set-up properly).  After investigating further, it appears that the problem was somewhere in the address entry system.  The address on the order is: ... Southampton New Hampsire United Kingdom  The problem is that &quot;New Hampsire&quot; is not a valid state in &quot;United Kingdom&quot;.  In further testing here we are not able to reproduce this address. Every time we change the country ti UK it automatically changes the state list (and also properly changes the shipping amount).  Can you tell me if you can think of anything that might cause this strange happening? Is it possible for a user to configure their browser in a way that these updates don't take place (i.e. disabling javascript, etc.)?  This is just a perplexing issue that we'd sure like to try to figure out.  Thanks.")*

That's what I was thinking (javascript turned off).

I don't think we want to go to the effort of address verification (at least not for this site).
However, I think we might consider doing some sort of test to determine if javascript is enabled and alert the user if it isn't.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzIwNTQtb3JkZXItZW50ZXJlZC13aXRoLWludmFsaWQtYWRkcmVzcy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
