Cart Quotes

Posts: 6
Joined: 09/12/2007

I got cart quotes to work by commenting out the line which adds the StateOrProvinceCode if the Zone is unknown.

function uc_fedex_admin_settings(){

. . .

if(!$destination->zone){
//$schema .= '<StateOrProvinceCode>'. _convert_zip_code2($destination->postal_code) .'</StateOrProvinceCode>';
}
else{
$schema .= '<StateOrProvinceCode>'. $destination->zone .'</StateOrProvinceCode>';
}

. . .

I checked this with:
FedEx Ground -- Office Address
FedEx Ground -- Home Address
FedEx 2nd Day
Standard Overnight
International Economy Freight
International Priority Freight

uc_fedex? By: jimi089 (34 replies) Fri, 09/07/2007 - 15:35