Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fedex Real Time from Canada to Canada


canadaka

Recommended Posts

I had a heck of a time getting the Fedex Real Time Shipping module to work, but I managed to get it working from the store origin (Canada address) to a buysers us address.

 

It will however not work from Canada to Canada. it gives this error:

No Rates Returned, E561 : Currency Code for Intra-CA request must CAD

 

Now i have debug mode on so it spits out the data sent and recienved, and i noticed its grabbing the ISAO-2 country code: CA to send. So i edited the fedex file to force it too do CAD but still gives the same error...

 

here is an example output:

Data sent to Fedex for Rating: 0,"25"10,"257255026"498,"4917189"8,"BC"9,"V3Y2C5"117,"CA"17,"V4N2V3"16,"BC"50,"CA"75,"KGS"1116,"C"1401,"3.0"1529,"1"1415,"120.00"68,"USD"440,"N"1273,"01"1333,"1"99,""

Data returned from Fedex for Rating: 0,"125"2,"E561"3,"Currency Code for Intra-CA request must CAD."99,""

so even if i change all the CA's to CAD it will give the same error.

 

im pretty stumped.. someone must have come accross this.. there msut be others using fedex to ship canada to canada.

my site is www.machinerydecals.com

Edited by canadaka
Link to comment
Share on other sites

I had the same problem, try changing line number 360 in includes->modules->shipping->fedex1.php

 

 

if ($this->insurance > 0) {

$data .= '1415,"' . $this->insurance . '"'; // Insurance value

$data .= '68,"US"'; // Insurance value currency

}

 

Change "US" to "CAD". This should fix it. Good luck

Link to comment
Share on other sites

I had the same problem, try changing line number 360 in includes->modules->shipping->fedex1.php

      if ($this->insurance > 0) {

        $data .= '1415,"' . $this->insurance . '"'; // Insurance value

      $data .= '68,"US"'; // Insurance value currency

      }

 

Change "US" to "CAD".  This should fix it. Good luck

 

Thanks!! that worked, still have to test if shipping to a US address works right.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...