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

#   FedEX Shipping does not work for some countries

##

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

Less More

- Posts: 99
- Thank you received: 5
-
-

12 years 2 months ago [\#170046](#170046) by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile")  *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#170046 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")* was created by *[byoguru](/forum/user/11107-byoguru "View byoguru's Profile")*

-- HikaShop version -- : HikaShop Business: 2.3.2
-- Joomla version -- : Joomla! 2.5.22
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : None

Hello,
We have a store that sells products internationally.
It has 2 shipping methods:

- PUROLATOR - for Canada
- FedEX for everywhere else

All works EXCEPT for FedEX shipping to Mexico and a few other countries.
Message from HIKASHOP - "NO SHIPPING METHOD FOUND" when some countries are the shipping to address.

The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.

Where may I give you access details for out site?

Please ADVISE

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#170048](#170048) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#170048 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hi,

The plugin does not have any country restriction.
The plugin call the Fedex API in order to get the possibilities and the rates (the prices).

If you did not activate some special fedex methods, it might be possible that some countries are not available.
After that, it is possible that the website will give you some information and the API another ; it will be weird, but possible.
What I will recommend you is to see directly with Fedex ; the plugin can't be the source of your troubles, it's just a bridge with the Fedex API.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 99
- Thank you received: 5
-
-

12 years 4 weeks ago -  12 years 4 weeks ago [\#175882](#175882) by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile")  Replied by *[byoguru](/forum/user/11107-byoguru "View byoguru's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#175882 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hello,

We have done some digging and here is what we found:

Hikashop error message reads: " SHIPPING METHOD NOT FOUND" It was working before we updated some time ago but now it often - ALMOST ALWAYS does not work.

We hired a programmer to debug what is going on here - his findings are below.

He turned on logging in the code for the FedEX Shipping plugin.

FEDEX returns a message that reads:

&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="[ schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)"&gt;&lt;SOAP-ENV:Header/&gt;&lt;SOAP-ENV:Body&gt;&lt;RateReply xmlns="[ fedex.com/ws/rate/v10](http://fedex.com/ws/rate/v10)"&gt;&lt;HighestSeverity&gt;ERROR&lt;/HighestSeverity&gt;&lt;Notifications&gt;&lt;Severity&gt;ERROR&lt;/Severity&gt;&lt;Source&gt;crs&lt;/Source&gt;&lt;Code&gt;840&lt;/Code&gt;&lt;Message&gt;The length of the destination state or province exceeds the limit of 2 characters. &lt;/Message&gt;&lt;LocalizedMessage&gt;The length of the destination state or province exceeds the limit of 2 characters. &lt;/LocalizedMessage&gt;&lt;/Notifications&gt;&lt;TransactionDetail&gt;&lt;CustomerTransactionId&gt; *** Rate Request v10 using PHP ***&lt;/CustomerTransactionId&gt;&lt;/TransactionDetail&gt;&lt;Version&gt;&lt;ServiceId&gt;crs&lt;/ServiceId&gt;&lt;Major&gt;10&lt;/Major&gt;&lt;Intermediate&gt;0&lt;/Intermediate&gt;&lt;Minor&gt;0&lt;/Minor&gt;&lt;/Version&gt;&lt;/RateReply&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;

It seems that there is an issue with 2 vs 3 characters for STATE OR PROVINCE Code.

Also, apparently the file: fedex.php on line is 782 sends 3 character code when FEDEX wants 2

ORIGINAL CODE:
'StateOrProvinceCode' =&gt; $data-&gt;address_state-&gt;zone_code_3,

SHOULD BE?:
'StateOrProvinceCode' =&gt; $data-&gt;address_state-&gt;zone_code_2,

Additionally the db table apparently does not have all the 2 character codes and needs to be completed.

Please advise asap.

Last edit: 12 years 4 weeks ago by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 4 weeks ago [\#175947](#175947) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#175947 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hello,
Thanks for your feedback :
1. I just checked the FedEx developer documentation and they don't seem to restrict the "StateOpProvinceCode" to a 2 characters code : Code:

&lt;v15:StateOrProvinceCode&gt;XXX&lt;/v15:StateOrProvinceCode&gt;

2. Note that through the USA and Canada sub-zones, you won't have any zone which have more than 2 characters on the "Code 3 letters" or "$data-&gt;address_state-&gt;zone_code_3" variable, so if you have set an USA/Canadian shipping address, the zone code won't be longer than 2 characters.

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

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

Less More

- Posts: 99
- Thank you received: 5
-
-

12 years 4 weeks ago [\#176007](#176007) by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile")  Replied by *[byoguru](/forum/user/11107-byoguru "View byoguru's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#176007 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hello Mohamed,
Thanks for your feedback.

We are not concerned about shipping to the USA or CANADA. We care very much about shipping to everywhere else in the world.

The error message from FEDEX back to hikashop plugin specifically states there is a problem. So they say it is the plugin and you suggest it is not?

What are we supposed to do?

Please advise.

Thanks

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

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

Less More

- Posts: 99
- Thank you received: 5
-
-

12 years 3 weeks ago [\#176093](#176093) by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile")  Replied by *[byoguru](/forum/user/11107-byoguru "View byoguru's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#176093 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hello - is it possible to please get some assistance with issues with FEDEX plugin and possible problems with the hikashop tables for countries / states /provinces

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

12 years 3 weeks ago [\#176204](#176204) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#176204 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Hi,

As you might see, the "Fedex" plugin has not been developed by the HikaShop team but by : "Rich S Wyatt - D3 Web Creations".
The author gave us the plugin and the right to include it into HikaShop.
Because the plugin had some troubles, "Obsidev" made some modifications in order to fix the different issues before the first release.
Now, the HikaShop team is maintaining the plugin for the compatibility with HikaShop.

If Fedex is asking for codes with 2 characters, you have to give him codes with 2 characters.
You will see that in the HikaShop database, the states have mostly codes in the "zone_code_3" even if the code is in 2 characters. Most of states does not have any value in the "zone_code_2" ; so it's difficult for the plugin to work with that.
You can edit the plugin and replace Code:

$state_zone=@$rate-&gt;shipping_params-&gt;sender_state; $query="SELECT zone_id, zone_code_3 FROM ".hikashop_table('zone')." WHERE zone_namekey IN ('".$state_zone."')"; $db-&gt;setQuery($query); $state = $db-&gt;loadObject(); $data['sender_state']=$state-&gt;zone_code_3;

By Code:

$state_zone=@$rate-&gt;shipping_params-&gt;sender_state; $query="SELECT zone_id, zone_code_2, zone_code_3 FROM ".hikashop_table('zone')." WHERE zone_namekey IN ('".$state_zone."')"; $db-&gt;setQuery($query); $state = $db-&gt;loadObject(); $data['sender_state'] = empty($state-&gt;zone_code_2) ? $state-&gt;zone_code_3 : $state-&gt;zone_code_2;

in order to load the "zone_code_2" when possible but if in the database there is no 2 characters code at all, HikaShop and the fedex plugins won't be able to create them.
At this moment you will need to fill your zone database with the correct codes.
[ www.hikashop.com/support/documentation/i...ashop-zone-form.html](http://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/15-hikashop-zone-form.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 99
- Thank you received: 5
-
-

12 years 3 weeks ago [\#176260](#176260) by [byoguru](/forum/user/11107-byoguru "View byoguru's Profile")  Replied by *[byoguru](/forum/user/11107-byoguru "View byoguru's Profile")* on topic *[FedEX Shipping does not work for some countries](/forum/28-shipping-methods/870823-fedex-shipping-does-not-work-for-some-countries#176260 "-- HikaShop version -- : HikaShop Business: 2.3.2 -- Joomla version -- : Joomla! 2.5.22 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : None  Hello, We have a store that sells products internationally. It has 2 shipping methods:  &#42; PUROLATOR - for Canada  &#42; FedEX for everywhere else  All works EXCEPT for FedEX shipping to Mexico and a few other countries. Message from HIKASHOP - &quot;NO SHIPPING METHOD FOUND&quot; when some countries are the shipping to address.  The thing is - if I go to FedEX WWW I can get those shipping rates with the exact same addresses.  Where may I give you access details for out site?  Please ADVISE")*

Thank you.

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

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