Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default FedEx Web Services not working for Canadian addresses

    Anyone else seeing this problem? We're using the current 1.6.7 version of the module. Zen Cart 1.5.5e. This was working but the problem began several days ago.

    Zen Log says:
    PHP Warning: key() expects parameter 1 to be array, null given in /home/shipwrec/public_html/includes/modules/shipping/fedexwebservices.php on line 708

    FedEx response log is:
    [2017-09-06 08:49:33] stdClass::__set_state(array(
    'HighestSeverity' => 'WARNING',
    'Notifications' =>
    array (
    0 =>
    stdClass::__set_state(array(
    'Severity' => 'WARNING',
    'Source' => 'crs',
    'Code' => '556',
    'Message' => 'There are no valid services available. ',
    'LocalizedMessage' => 'There are no valid services available. ',
    )),
    1 =>
    stdClass::__set_state(array(
    'Severity' => 'NOTE',
    'Source' => 'crs',
    'Code' => '820',
    'Message' => 'The destination state/province code has been changed. ',
    'LocalizedMessage' => 'The destination state/province code has been changed. ',
    )),
    ),
    'TransactionDetail' =>
    stdClass::__set_state(array(
    'CustomerTransactionId' => ' *** Rate Request v10 using PHP ***',
    )),
    'Version' =>
    stdClass::__set_state(array(
    'ServiceId' => 'crs',
    'Major' => 10,
    'Intermediate' => 0,
    'Minor' => 0,
    )),
    ))

    I don't know why no services are available. Client has spoken with FedEx and the account is fine.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: FedEx Web Services not working for Canadian addresses

    what is the address they are shipping TO?

    the fedex error is:

    The destination state/province code has been changed.

    fedEx is probably checking the valid canadian province abbreviations. the canadian zip code must also match to the province.

    see:

    https://en.wikipedia.org/wiki/Canadi...nd_territories

    good luck.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: FedEx Web Services not working for Canadian addresses

    Quote Originally Posted by carlwhat View Post
    what is the address they are shipping TO?
    280 ROAD 13 E
    Tiny, L9M0M9
    ON, Canada

    and I've tried others. I can't get any Canadian address to return rates. US addresses are fine.

    The log shows the address is being sent:
    'Recipient' =>
    array (
    'Address' =>
    array (
    'StreetLines' =>
    array (
    0 => '280 ROAD 13 E',
    1 => '',
    ),
    'City' => 'Tiny',
    'PostalCode' => 'L9M0M9',
    'CountryCode' => 'CA',
    'Residential' => true,
    ),
    'StateOrProvinceCode' => 'ON',
    ),

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: FedEx Web Services not working for Canadian addresses

    you need to give FedEx web services a call.

    an outside shot would be to include a space in the canadian postal code. the proper code format would be:

    L9M 0M9

    that would be pretty lame if that worked. but i have seen worse with fedex.

    fedEx's webservices api group is pretty good, but you would need to be able to provide the complete send transaction...

    there also seems to be a ZC problem with the parsing of the return string as indicated by:

    PHP Warning: key() expects parameter 1 to be array, null given in /home/shipwrec/public_html/includes/modules/shipping/fedexwebservices.php on line 708

    an error with rating should not give a ZC log, IMHO. but i think the more important thing is getting a return rate from fedEx.

    good luck.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: FedEx Web Services not working for Canadian addresses

    Quote Originally Posted by carlwhat View Post
    an outside shot would be to include a space in the canadian postal code. the proper code format would be:

    L9M 0M9

    that would be pretty lame if that worked. but i have seen worse with fedex.
    Yep, I tried that. I wish is it that simple though. I have reached out to FedEx. Thanks for trying to help.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: FedEx Web Services not working for Canadian addresses

    jim,
    did you get it figured out? now i'm curious....

    thanks.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: FedEx Web Services not working for Canadian addresses

    Quote Originally Posted by carlwhat View Post
    jim,
    did you get it figured out? now i'm curious....

    thanks.
    Not yet, still working with FedEx. But I will post back once I get it solved.

  8. #8
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: FedEx Web Services not working for Canadian addresses

    I have an open case has FedEx has escalated it. We're not getting rates for Canada and it seems only Canada. They also mentioned the Key and Password used in the FedEx shipping module belong to Numinix, the author. They have historically allowed a Key and Password from one account to work with another. They made a change on their end about a week ago related to this, I don't have details, but said it should not have caused a problem. They will or want to have Keys and Passwords tied to the accounts being used, so *might* be part of the problem.

    I'll post back when we get to a resolution.

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: FedEx Web Services not working for Canadian addresses

    getting your own key and password is generally not that big a deal. you can then from here:

    https://www.fedex.com/us/developer/w...?tab=tab4#tab4

    the tricky part is when you need to print labels, as you would then need to get label approval from fedEx.

    i have a non-ZC customer that gets rates from fedex to canada all the time. it's curious that i am not hearing any complaints from them....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: FedEx Web Services not working for Canadian addresses

    Quote Originally Posted by carlwhat View Post
    getting your own key and password is generally not that big a deal. you can then from here:

    https://www.fedex.com/us/developer/w...?tab=tab4#tab4

    the tricky part is when you need to print labels, as you would then need to get label approval from fedEx.

    i have a non-ZC customer that gets rates from fedex to canada all the time. it's curious that i am not hearing any complaints from them....
    I did get the new key and password last night. They are wanting my client to go through the approval process including label printing, which makes no sense to me. I've asked if we can skip that part but waiting on a reply.

    My customer is based in Canada so a Canadian address is technically domestic which might explain why all other rates work, being international. I'm supposed to hear back within 24 hours, which is late tonight.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 NUMINIX FedEx Web Services Module: Handling Free's Aren't Working
    By sle39lvr in forum Addon Shipping Modules
    Replies: 0
    Last Post: 23 Sep 2016, 10:01 PM
  2. v151 Numinix Fedex Web Services + Fedex LTL
    By Feznizzle in forum Addon Shipping Modules
    Replies: 4
    Last Post: 10 Jun 2013, 09:09 PM
  3. Replies: 0
    Last Post: 19 Dec 2012, 11:50 PM
  4. v150 Fedex Web Services not right
    By Serg in forum Addon Shipping Modules
    Replies: 1
    Last Post: 22 Aug 2012, 02:51 AM
  5. v138a Fedex web services does not work for International
    By adolgin in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Jun 2012, 05:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR