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

#   ShipStation State missing (sometimes city too)

##

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301210](#301210) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301210 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")* was created by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")*

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.13

See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?

Order details in Hikashop:
[ ![2018-12-0312&#95;31&#95;01-MOJOOutdoors-Administration-Order.png](/forum/attachment/45555) ](/forum/attachment/45555 "...tion-Order.png")

Order imported to ShipStation:
[ ![2018-12-0312&#95;30&#95;44-Orders&#95;&#95;ShipStation.png](/forum/attachment/45556) ](/forum/attachment/45556 "...hipStation.png")

Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.

Orders display properly in HIkashop order details but don't seem to always transmit the correct info?

- [ ![2018-12-0312&#95;31&#95;01-MOJOOutdoors-Administration-Order.png](/forum/attachment/45555) ](/forum/attachment/45555 "...tion-Order.png") [ ](/forum/attachment/45555?download=1 "...tion-Order.png")
- [ ![2018-12-0312&#95;30&#95;44-Orders&#95;&#95;ShipStation.png](/forum/attachment/45556) ](/forum/attachment/45556 "...hipStation.png") [ ](/forum/attachment/45556?download=1 "...hipStation.png")

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301211](#301211) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301211 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Also, seems to be importing the name as "Last Name" "First Name".

It messes up the display for most everything. Should be "First Name" "Last Name"

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 11 months ago -  7 years 11 months ago [\#301235](#301235) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301235 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Hello,

I have a question to better understand "**state**" issue, do you have some order with state **correctly received** by ShipStation ?
And if yes, can you provide the address example (Country, State, Cities)
the solution is close but ShipStation is really hard to test and so I **need more informations** to be sure how to process.

Awaiting news from you.
Regards

Last edit: 7 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301254](#301254) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301254 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Yes, we have lots of orders that were correctly received. The only I noted seemed to be related to a couple of states. Colorado in the U.S. seemed to be one of concerns. This leads me to believe it might be related to the 2 and 3 letter state codes? Does ShipStation import the 2 letter or 3 letter state codes? Hikashop default has all of the 3 letter state codes but none of the 2 letter state codes filled out under zones.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 11 months ago -  7 years 11 months ago [\#301279](#301279) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301279 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Hello,

Can you try this **new** version, this must work now for your state issue, the **other point** is that I add a **custom field** to try to add your order number.

Awaiting news from you.
Regards

Last edit: 7 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301291](#301291) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301291 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Orders not importing with the new version.

Error: 0 Call to undefined function hikashop_toInteger()

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301300](#301300) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301300 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Fixed the issue by changing

hikashop_toInteger($order_id)

to

JArrayHelper::toInteger($order_id);

Also, tax and the custom field seems to be importing nicely. I will have to test the state abbreviation fix for a while before I can report back.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago -  7 years 11 months ago [\#301301](#301301) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301301 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Last issue. Customer name displays in ShipStation as "Last Name" "First Name"

Seems more intuitive to display it "first name" then "last name". Is this an easy change?

ShipStation does not have separate areas for first and last name and instead displays the full name.

Last edit: 7 years 11 months ago by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 11 months ago -  7 years 11 months ago [\#301319](#301319) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301319 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Hello,

yes sorry I forgot this little modification ! I will guide you to do it yourself it's very simple see my screenshot :

Around **line 388** in **shipstation.php**

[ ![&#91;img](https://i.imgur.com/3OMTK7p.png) ](https://i.imgur.com/3OMTK7p.png "&#91;img")

And thanks for your return about the fix on error '*hikashop\_toInteger*' but I suggest you this :
Code:

if(!function_exists('hikashop_toInteger')) JArrayHelper::toInteger($order_id); else hikashop_toInteger($order_id);

And so, this will work anycase even when you move on **HikaShop 4**.
Regards

Last edit: 7 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

7 years 11 months ago [\#301785](#301785) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[ShipStation State missing (sometimes city too)](/forum/30-integrations/896375-shipstation-state-missing-sometimes-city-too#301785 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.13  See the attached screenshots for a test order I made to import into ShipStation. Some of the states don't import properly and sometimes the city doesn't get carried over either?  Order details in Hikashop:  Order imported to ShipStation:  Any thoughts on this? I checked the zones config for Colorado and I noticed it didn't have a two letter code (which most states don't). I added it hoping it would resolve this issue. Sadly, it did not.  Orders display properly in HIkashop order details but don't seem to always transmit the correct info?")*

Works perfectly! Thanks Philip!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTYzNzUtc2hpcHN0YXRpb24tc3RhdGUtbWlzc2luZy1zb21ldGltZXMtY2l0eS10b28/dG1wbD1tYXJrZG93bg==) 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.075 seconds

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