Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Odd Behaviour in USPS Methods


nmetsovo

Recommended Posts

I just downloaded USPS Methods 6.1 to use on our OSCommerce 2.2RC1 store.

 

In the installation instructions, it says:

 

NOTE: SELECTING ANY GIVEN SHIPPING METHOD DOES NOT ENSURE IT WILL BE

AVAILABLE TO YOUR CUSTOMERS. USPS RETURNS A SET OF POSSIBLE SHIPPING METHODS

DEPENDING ON POINT OF ORIGIN AND DESTINATION, AND THIS CONTRIBUTION MERELY

FILTERS THEM SO THAT NON-SELECTED METHODS ARE NOT PRESENTED TO THE CUSTOMER

AS CHOICES.

 

I have Express Mail, pretty much all the Priority Mail, First Class, etc. options selected.

 

What I'm finding in my testing is that the module is offering me (as a testing customer)

 

Express Mail

Priority Mail Large Flat Rate Box

Priority Mail (just the regular)

Parcel Post

First Class Mail

 

What I find odd is that it is only offering me the Priority Mail Large Flat Rate Box, and none of the other Flat Rate Boxes.

 

If I remove the Priority Mail Large Flat Rate Box option on the configuration page, then I don't get any other Priority Mail Flat Rate option.

 

Does anyone else have this problem?

 

Does anyone have any ideas what may be causing this?

 

Any help / feedback will be greatly appreciated.

Link to comment
Share on other sites

Nicholas,

 

 

I think the returned available options from USPS rely on the item weight. If the item is heavy, then the LARGE Flat rate box may be the only method USPS offers for a heavy item.

 

 

 

 

Chris

Link to comment
Share on other sites

  • 4 weeks later...

Problem resolved.. edit the usps.php at \catalogs\includes\modules\shipping\

 

at the line #299

 

change the following to CAP LETTER

 

'Priority Mail Flat Rate Envelope' => 'FLAT RATE ENVELOPE',

Edited by kb6mcc
Link to comment
Share on other sites

  • 1 month later...

It happens even if the shipping weight is 2.2 lbs.

I am having the same problem. Has anyone solved this? Looked at Ken's solution, but line 299 of usps.php in USPS Methods 6.1 is

 

       	 'CU' => 'Cuba',

 

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

The answer for

I am having the same problem. Has anyone solved this? Looked at Ken's solution, but line 299 of usps.php in USPS Methods 6.1 is

 

	   	 'CU' => 'Cuba',

 

Thanks.

 

The answer for me was to capitalize FLAT in the line.

'Priority Mail Small Flat Rate Box' => 'SM FLAT Rate Box',

Link to comment
Share on other sites

Although I solved my previous problem of Domestic "Priority Mail Small Flat Rate Box" not showing, now I am experiencing the same problem with "Priority Mail International Small Flat Rate Box" not showing. Does anyone have this option working in their install? Does anyone have a fix?

 

Thanks!

Link to comment
Share on other sites

FOLLOWUP: Upon further research, I believe the correct way to solve this problem is by putting in very accurate dimensions for the package sizes. For example, for shipments up to 5 pounds, a small flat rate box is 8.625 x 5.375 x 1.625. Once these were added domestic and international flat rate box options showed accurately.

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...