Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS delivery


dritanlumshi

Recommended Posts

Posted

I guess I started typing too soon. What I meant to say was:

 

So do you have any ideas on how to fix it?

 

What I need to figure out is,

 

1.) How to get rid of that error message,

2.) How to get the error that shows up in the shipping options to disappear. It says 'This UPS function isn't working. Contact your admin. if this is what you'd like to use,'

 

 

Thanks,

Chris

Chris Sullivan

Posted

Did you change the ups.php file in any way?

 

Where are you setup for shipping from and where are you trying to ship to?

Posted

just trying to do a test order in the US, zipcode 30066 to 30066.

 

The only thing I did as far as mods go, I uploaded the newer shipping modules from the most current snapshot to:

/includes/languages/enlish/modules/shipping

/includes/modules/shipping

 

-Chris

Chris Sullivan

Posted

This is the code in /includes/modules/shipping/ups.php that the error is coming from:

 

$http = new httpClient();

if ($http->Connect('www.ups.com', 80)) {

$http->addHeader('Host', 'www.ups.com');

$http->addHeader('User-Agent', 'osCommerce');

$http->addHeader('Connection', 'Close');

 

if ($http->Get('/using/services/rave/qcostcgi.cgi?' . $request)) $body = $http->getBody();

 

$http->Disconnect();

} else {

return 'error';

}

 

 

-Chris

Chris Sullivan

Posted

I am assuming your /includes/classes/shipping.php is:

  $Id: shipping.php,v 1.18 2002/11/23 02:29:39 thomasamoulton Exp $

 

And all your /catalog/checkout*.php files are on that date too?

Posted

Shipping, yes.

 

Checkout_*.php - NO

$Id: checkout_payment.php,v 1.104 2002/12/05 00:26:32 thomasamoulton Exp $

 

Thanks,

Chris

Chris Sullivan

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...