Results 1 to 3 of 3

Thread: FedEx needs 2-char code for Canadian provinces

  1. #1
    Active Member
    FedEx needs 2-char code for Canadian provinces


    Join Date
    Jan 2009
    Posts
    236
    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default FedEx needs 2-char code for Canadian provinces

    Hi,

    I finally got the FedEx module completely working for the US, so I can generate a FedEx shipping label with one button. When I try to do the same for a Canadian customer, I get an error message that it needs a 2 letter code for the province. When you try to edit the shipping address, it gives you a menu of full province names, no way to enter a 2-letter abbreviation.

    I suspect the FedEx module needs to have a table to convert the full name to the code FedEx requires.

    For FedEx ground, the message is :
    ERROR: FedEx Return Error F84A : Invalid recipient province code for Canada

    for FedEx overnight, you get :
    ERROR: FedEx Return Error 8027 : State or province abbreviation must be two characters.

    Anybody know how to fix this?

    Thanks,

    Jon
    Last edited by jmelson; 09-18-2009 at 09:43 AM. Reason: typo

  2. #2
    jpf
    Guest


    Default Re: FedEx needs 2-char code for Canadian provinces

    Make sure your sending the zone_code not the zone_name.

  3. #3
    Active Member
    FedEx needs 2-char code for Canadian provinces


    Join Date
    Jan 2009
    Posts
    236
    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default Re: FedEx needs 2-char code for Canadian provinces

    First, I'm just using the module as is, I didn't write it. Second, it works for the
    US, and I don't want to break that.

    It looks like the actual variable name is zone_id, not zone_code, and it seems there is a line in fedex.php that looks that up, but I am no php expert.

    Thanks,

    Jon

Similar Threads

  1. Philippine Provinces
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-08-2007, 08:05 AM
  2. Big tax fix for Canadian Taxes
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-04-2007, 08:26 AM
  3. Canadian using OSC
    By av950 in forum Introduce yourself!
    Replies: 5
    Last Post: 04-22-2007, 10:49 PM
  4. US store, Canadian clients
    By crystina in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 03-03-2007, 05:08 AM
  5. Fedex Code Error
    By torweb in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 06-12-2006, 01:51 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
  •