As most of my customers have products delivered to residential addresses, I have the module set to return Ground Home Delivery and 2-day rates. Only the 2-day rate is returned from the server and displayed.
If I add the Ground option, both it and the 2-day rates are returned from the FedEx server.
That makes me think that the Home Delivery rate request is not be presented properly.
Can anyone recommend a fix?
You are correct. The code is here:
It is setting residential if there IS a company field, which is the opposite of what it should be doing
Add a ! in front of the $address to look like this:
That should fix it
Code: Select all
<ns1:Residential>' . ($address['company'] ? 'true' : 'false') . '</ns1:Residential>';
Add a ! in front of the $address to look like this:
Code: Select all
<ns1:Residential>' . (!$address['company'] ? 'true' : 'false') . '</ns1:Residential>';
Who is online
Users browsing this forum: No registered users and 7 guests