Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS Help


Guest

Recommended Posts

:angry:

I have opened a USPS account. When I enable the module, and test it, I get the following error.

 

An error occured with the USPS shipping calculations.

If you prefer to use USPS as your shipping method, please contact the store owner.

 

Please Help.

Link to comment
Share on other sites

thats a pat response in OSC. If you entered your username and password correctly and didn't make any changes after you updated USPS, then you have to go into USPS.php and reset the API url for testing,

 

catalog/includes/modules/shipping/usps.php

 

 

$this->_setMachinable('True');

$this->_setContainer('None');

$this->_setSize('REGULAR');

 

You will want to set these three lines exactly like this, or your rates will be off(to high).

 

And much further down find:

 

 

switch (MODULE_SHIPPING_USPS_SERVER) {

case 'production': $usps_server = 'production.shippingapis.com';

$api_dll = 'shippingapi.dll';

break;

case 'test':

default: $usps_server = 'testing.shippingapis.com';

$api_dll = 'ShippingAPITest.dll';

break;

You will have to call the usps tech to give you the coorect driver name...

 

That should do it if the test server is actually up and running...

Link to comment
Share on other sites

I'm still experiencing problems

 

I updated: $this->_setMachinable('True');

from: $this->_setMachinable('False');

 

Everything else is identical, but I still get the same error message.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...