Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    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,908
    Plugin Contributions
    13

    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 now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    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,908
    Plugin Contributions
    13

    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 now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    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,908
    Plugin Contributions
    13

    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 now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,908
    Plugin Contributions
    13

    Default Re: FedEx Web Services not working for Canadian addresses

    Quote Originally Posted by carlwhat View Post
    that would be pretty lame if that worked. but i have seen worse with fedex.
    disable insurance by setting the value to 1 million. wow. i think that's pretty lame that fedex would not have included that info in the return message...

    more importantly, i'm glad someone got this figured out!!

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

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

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