Zen Cart Logo
Forums / Addon Shipping Modules / Fedex Ground Fails Outside US

Fedex Ground Fails Outside US

Locked

Views: 1,212

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Aug 2009, 12:22 PM
#1
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Fedex Ground Fails Outside US

Fedex xml ground module fails when its Canada or Puerto Rico the zone is correct and I get this message in debugging mode

SimpleXMLElement Object
(
[ReplyHeader] => SimpleXMLElement Object
(
[CustomerTransactionIdentifier] => Express Rate
)

[Error] => SimpleXMLElement Object
    (
        [Code] => 4074
        [Message] => Rating failed
    )

)

19 Aug 2009, 11:02 PM
#2
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Re: Fedex Ground Fails Outside US

fixed it myself easy fix the
change the line in the fedexground from
if ($order->delivery['company'] == ''){

		$this->resFlag = true;

to

if ($order->delivery['company'] == '' && $order->delivery['country']['iso_code_2'] == $this->originCountry){

dont know if that was the right thing to do but now it works fine and the rates seem about right

19 Aug 2009, 11:03 PM
#3
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Re: Fedex Ground Fails Outside US

thanks kdb04d for your help:clap::clap::clap::clap: