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

#   add billing address on checkout

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 7 months ago [\#95362](#95362) by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")  *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95362 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")* was created by *[johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")*

Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):

image missing http://i47.tinypic.com/2n890qx.png

But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.

image missing http://i47.tinypic.com/o93ern.png

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 7 months ago -  13 years 7 months ago [\#95369](#95369) by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")  Replied by *[johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95369 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

when I use console to see what is going on, I saw this error message:

XMLHttpRequest cannot load "website url"/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=state…e&amp;field_namekey=address_state&amp;namekey=country_United_States_of_America_223. Origin "website url" is not allowed by Access-Control-Allow-Origin.

But don't know how to fix it, thank you.

Last edit: 13 years 7 months ago by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 7 months ago [\#95372](#95372) by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")  Replied by *[johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95372 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

Hmm, so weird, without doing anything, Chrome can see the state field now, but Firefox and IE still can't see it, earlier, all 3 browsers can't see the state field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 7 months ago [\#95505](#95505) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95505 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

Hi,

That's because you're accessing your website with two different doamins and the AJAX request to load the dropdown of states always use the same one. So in some cases, the domain of the AJAX request is refused by your browser when it is different than the domain of the current page.

You should not do that. All the pages should be accessed with the same domain. That will avoid that error and also improve your SEO by avoiding duplicate content.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 7 months ago [\#95625](#95625) by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")  Replied by *[johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95625 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

> nicolas wrote: Hi,
>
> That's because you're accessing your website with two different doamins and the AJAX request to load the dropdown of states always use the same one. So in some cases, the domain of the AJAX request is refused by your browser when it is different than the domain of the current page.
>
> You should not do that. All the pages should be accessed with the same domain. That will avoid that error and also improve your SEO by avoiding duplicate content.

Hi, Nicolas, thank you very much, the weird thing is from my understanding, we only have one domain for this website, could it be the problem from the hosting company? And how do I found out which are the two domains associate with the website if that is the causing of the problem, thank you very much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 7 months ago [\#95662](#95662) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95662 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

You're probably accessing your website with both [ www.yourwebsite.com](http://www.yourwebsite.com) and yourwebsite.com which are considered as two different domains by the browsers. You should add a htaccess rule to always redirect the requests to one of the domains to the other one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 7 months ago [\#95680](#95680) by [johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")  Replied by *[johnpeter001](/forum/user/12634-johnpeter001 "View johnpeter001's Profile")* on topic *[add billing address on checkout](/forum/4-how-to/79454-add-billing-address-on-checkout#95680 "Dear Hikashop, when I went to check out, and try to add a new billing address, the state field is gone, it doesn't have a dropdown list of states for me to choose(show as below):  &#91;image&#93;  But if I logout and went to checkout as a new user, the register form does have state field and a dropdown list for me to choose, so I am not sure what is causing this issue, please help, thank you.  &#91;image&#93;")*

> nicolas wrote: You're probably accessing your website with both [ www.yourwebsite.com](http://www.yourwebsite.com) and yourwebsite.com which are considered as two different domains by the browsers. You should add a htaccess rule to always redirect the requests to one of the domains to the other one.

I see, thank you very much Nicolas, that should be the reason, thanks again for your quick and efficient answers as always. ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDU0LWFkZC1iaWxsaW5nLWFkZHJlc3Mtb24tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.116 seconds

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