Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Priority Mail not working


Trentide

Recommended Posts

Posted

Hi, thanks for looking at my post. I totally appreciate any help on this.

 

I noticed recently that I haven't received any orders with Priority Mail as the shipping method.

 

I created a fake account, and was able to select Priority Mail on the website. But when the order goes through, First Class Mail is selected on the invoice.

 

I'm using USPS Methods.

 

Please, any help would be greatly appreciated it.

 

Jason

Posted

Check your code in includes/modules/shipping/usps.php

 

the lettering has to be just right....as in caps vs lower case etc. here is what my code looks like:

 

$this->types = array('EXPRESS' => 'Express Mail',

					   'FIRST CLASS' => 'First Class Mail',

					   'PRIORITY' => 'Priority Mail',

					   'PARCEL' => 'Parcel Post',

					   'BPM' => 'Bound Printed Matter',

					   'MEDIA' => 'Media Mail');

 

and for 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 Flat Rate Box',

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

Posted

Dude. It totally worked. Thanks so much!!!!!

 

Do you know why the site sorts the different international services by the most expensive first?

 

Is there a way to change it?

 

Thanks Jayman11!!!

 

Jason

Archived

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

×
×
  • Create New...