Ok so I am looking at the \includes\modules\shipping\ups.php file.
I think that this is what needs to change:
apx line 405 to 415
PHP Code:
if ($http->Connect('www.ups.com', 80)) {
$http->addHeader('Host', 'www.ups.com');
$http->addHeader('User-Agent', 'Zen Cart');
$http->addHeader('Connection', 'Close');
if ($http->Get('/using/services/rave/qcostcgi.cgi?' . $request)) $body = $http->getBody();
$http->Disconnect();
} else {
return 'error';
}
Looking at the UPS API Web Services Guide www.ups.com needs to be changed to http://onlinetools.ups.com/webservices/Rate
would this be the correct change?
PHP Code:
if ($http->Connect('http://onlinetools.ups.com', 80)) {
$http->addHeader('Host', 'http://onlinetools.ups.com');
$http->addHeader('User-Agent', 'Zen Cart');
$http->addHeader('Connection', 'Close');
if ($http->Get('/webservices/Rate' . $request)) $body = $http->getBody();
$http->Disconnect();
} else {
return 'error';
}
Bookmarks