Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS SHIPPING PROBLEM


mysalon

Recommended Posts

For some reason my First Class Mail International option is not displaying. I have it check in Admin---Modules---Shipping

 

This is what displays. The items do not weigh over 4 pounds so the First Class Mail should display

Priority Mail International Flat-Rate Envelope $11.95

Priority Mail International $19.00

Priority Mail International Flat-Rate Box $25.95

Express Mail International (EMS) $25.95

 

I checked my arrays and they include First Class Mail International

$this->intl_types = array('GLOBAL EXPRESS' => 'Global Express Guaranteed',

'GLOBAL EXPRESS NON-DOC RECT' => 'Global Express Guaranteed Non-Document Rectangular',

'GLOBAL EXPRESS NON-DOC NON-RECT' => 'Global Express Guaranteed Non-Document Non-Rectangular',

'EXPRESS MAIL INT' => 'Express Mail International (EMS)',

'EXPRESS MAIL INT FLAT RATE ENV' => 'Express Mail International (EMS) Flat-Rate Envelope',

'PRIORITY MAIL INT' => 'Priority Mail International',

'PRIORITY MAIL INT FLAT RATE ENV' => 'Priority Mail International Flat-Rate Envelope',

'PRIORITY MAIL INT FLAT RATE BOX' => 'Priority Mail International ' . $this->PriorityFlatRateBoxType,

'FIRST CLASS MAIL INT' => 'First Class Mail International Package' . $this->FirstClassIntType);

 

Does any one have some insight here?

Link to comment
Share on other sites

For some reason my First Class Mail International option is not displaying. I have it check in Admin---Modules---Shipping

 

This is what displays. The items do not weigh over 4 pounds so the First Class Mail should display

Priority Mail International Flat-Rate Envelope $11.95

Priority Mail International $19.00

Priority Mail International Flat-Rate Box $25.95

Express Mail International (EMS) $25.95

 

I checked my arrays and they include First Class Mail International

$this->intl_types = array('GLOBAL EXPRESS' => 'Global Express Guaranteed',

'GLOBAL EXPRESS NON-DOC RECT' => 'Global Express Guaranteed Non-Document Rectangular',

'GLOBAL EXPRESS NON-DOC NON-RECT' => 'Global Express Guaranteed Non-Document Non-Rectangular',

'EXPRESS MAIL INT' => 'Express Mail International (EMS)',

'EXPRESS MAIL INT FLAT RATE ENV' => 'Express Mail International (EMS) Flat-Rate Envelope',

'PRIORITY MAIL INT' => 'Priority Mail International',

'PRIORITY MAIL INT FLAT RATE ENV' => 'Priority Mail International Flat-Rate Envelope',

'PRIORITY MAIL INT FLAT RATE BOX' => 'Priority Mail International ' . $this->PriorityFlatRateBoxType,

'FIRST CLASS MAIL INT' => 'First Class Mail International Package' . $this->FirstClassIntType);

 

Does any one have some insight here?

 

 

Hey guys still looking for some help some has to have first class mail international running.

Link to comment
Share on other sites

  • 3 weeks later...

Change line 64 in includes/modules/shipping/USPS.php

 

From 'FIRST-CLASS MAIL INT' => 'First-Class Mail International');

 

To 'FIRST-CLASS MAIL INT' => 'First Class Mail International Large Envelope');

 

 

In the future, use the following code to troubleshoot (Change email address to your current email address and remove // at beginning of line) around line 286

 

 

 

if ($http->Get('/' . $api_dll . '?' . $request)) $body = $http->getBody();

 

// USPS Test Response Email BOA

 

// mail('[email protected]','USPS rate quote response',$body,'From: <USPS Methods Test eMail>');

 

 

// USPS Test Response Email EOA

 

if ($transit && is_array($transreq) && ($order->delivery['country']['id'] == STORE_COUNTRY)) {

while (list($key, $value) = each($transreq)) {

if ($http->Get('/' . $api_dll . '?' . $value)) $transresp[$key] = $http->getBody();

}

}

 

 

Best regards,

OJP

www.Nventa.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...