Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS (Google Checkout) International rate bug


nipunjoshi

Recommended Posts

I have been looking/reading and search for a solution but not able to get to correct this. NEED HELP!!!

 

USPS is in Production mode: I am using OSCommerce v2.2 and am using Methods version 4.3 new install

I have Flat Rate, UPS and USPS installed: Problem with USPS international rate when using Google Checkout.

 

Administration-->Configuration-->Shipping/Packaging

Country of Origin United States

Postal Code 11208

Enter the Maximum Package Weight you will ship 50

Package Tare weight. 0.10

Larger packages - percentage increase. 1

Dimensions Support No

Unit Weight LBS

Unit Length IN

 

Shipping Module --> United States Postal Services (when all selected googlecheckout shows $0.98 on all available shipping methods and when I remove ENV methods it shows $28.70 i.e Express Mail International (EMS) Flat-Rate Envelope , see below regular checkout rate)

GLBL EX

GLBL EX NONDOC RECT

GLBL EX NONDOC NON-RECT

EXPRESS INT

EXPRESS INT FLAT RATE ENV

PRIORITY INT

PRIORITY INT FLAT RATE ENV

PRIORITY INT FLAT RATE BOX

FIRST-CLASS INT

 

Regular checkout only six (6) shows up:

 

Express Mail International (EMS) Flat-Rate Envelope $28.70

Priority Mail International $65.75

Express Mail International (EMS) $72.00

Global Express Guaranteed $134.50

Global Express Guaranteed Non-Document Non-Rectangular $135.50

Global Express Guaranteed Non-Document Rectangular $135.50

 

Google Checkout:

Shipping_methods.php (this is what I have in Shipping_methods.php file)

'international_types' => array(

'GXG Document' => 'Global Express Guaranteed',

'GXG Non-Document' => 'Global Express Guaranteed Non-Document Service',

'Express' => 'Express Mail International (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'

)

 

usps.php (this is what I have in usps.php file)

******************************************************************* */

//Added by Greg Deeth on May 12th, 2008

//INTERNATIONAL MAIL OPTIONS

//Change the values to the option you would like

 

//FIRST CLASS MAIL INTERNATIONAL OPTION:

$this->FirstClassIntType = 'Letters'; //OPTIONS: 'Letters', 'Large Envelope', 'Package'

 

//PRIORITY FLAT-RATE BOX INTERNATIONAL OPTION:

$this->PriorityFlatRateBoxType = 'Flat-Rate Box'; //OPTIONS: 'Flat-Rate Box', 'Large Flat-Rate Box'

/****************************************************************** */

 

$this->intl_types = array(

'GLBL EX' => 'Global Express Guaranteed',

'GLBL EX NONDOC RECT' => 'Global Express Guaranteed Non-Document Rectangular',

'GLBL EX NONDOC NON-RECT' => 'Global Express Guaranteed Non-Document Non-Rectangular',

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

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

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

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

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

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

 

I am new still new to PHP

 

Thanks in advance.

Edited by nipunjoshi
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...