Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Intl Usps Not Going Through Check Out Correctly


Recommended Posts

Posted

I am having a problem with international orders that I could really use some help with. My USPS module seems to to working fine, and bringing up prices and options like it should, but regardless of what is chosen, when you get to the confirmation page it switches it to Global Express Guaranteed. This is only happening with USPS international orders. Domestic USPS, and UPS International are working exactly like they should.

 

I searched the posts in this forum, and found 2 other people with similar problems, but neither post had any replies. I am assuming this is not that common of a bug. Any help or ideas anyone has would be great.

Posted (edited)
I am having a problem with international orders that I could really use some help with. My USPS module seems to to working fine, and bringing up prices and options like it should, but regardless of what is chosen, when you get to the confirmation page it switches it to Global Express Guaranteed. This is only happening with USPS international orders. Domestic USPS, and UPS International are working exactly like they should.

 

I searched the posts in this forum, and found 2 other people with similar problems, but neither post had any replies. I am assuming this is not that common of a bug. Any help or ideas anyone has would be great.

 

USPS changed their Rates and Services api as of May 14. Do the following to update your catalog/includes/modules/shipping/usps.php file:

 

Find:

$this->intl_types = array('GXG Document' => 'Global Express Guaranteed Document Service',
							'GXG Non-Document' => 'Global Express Guaranteed Non-Document Service',
							'Express' => 'Global Express Mail (EMS)',
							'Priority Lg' => 'Global Priority Mail - Flat-rate Envelope (large)',
							'Priority Sm' => 'Global Priority Mail - Flat-rate Envelope (small)',
							'Priority Var' => 'Global Priority Mail - Variable Weight Envelope (single)',
							'Airmail Letter' => 'Airmail Letter Post',
							'Airmail Parcel' => 'Airmail Parcel Post',
							'Surface Letter' => 'Economy (Surface) Letter Post',
							'Surface Post' => 'Economy (Surface) Parcel Post');

 

Change to:

$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');

 

That should fix the problem but if you have usps methods module you should go the the module page and download the update concerning this fix and use that to make the neccessary changes.

 

http://www.oscommerce.com/forums/index.php?sho...+global+express

Edited by hcamelion
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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