FrankPC Posted May 14, 2009 Posted May 14, 2009 I set up a customer account for someone in Japan using pull down selection window for country. I place a single (1 ounce) item in the shopping cart. When I check out, the USPS module gives me 14 options, ranging in cost from $3 to $56. I select a less expensive option. When I go the the Confirmation Order window, the shipping option has been changed to one of the most expensive options (e.g. $44). Can anyone help with this one? Why would reasonable USPS shipping options be listed, allow any to be selected, but then be changed? Thank you for help with this. Frank
FrankPC Posted May 14, 2009 Author Posted May 14, 2009 I did a complete reinstall of osCommerce in a new directory and with a new mySQL database. International shipping rates show up nicely from the USPS website. I can select any of the offered rates I please. But when I go to order confirmation, a new higher rate has been selected. I didn't complete all the configuration details and I did use the default products for test. I did enter my USPS user ID and password. And the database tables are all new. Any help with this? Thanks, Frank
BryceJr Posted May 15, 2009 Posted May 15, 2009 I did a complete reinstall of osCommerce in a new directory and with a new mySQL database. International shipping rates show up nicely from the USPS website. I can select any of the offered rates I please. But when I go to order confirmation, a new higher rate has been selected. I didn't complete all the configuration details and I did use the default products for test. I did enter my USPS user ID and password. And the database tables are all new. Any help with this? Thanks, Frank This is a known bug. You may want to update your usps shipping module via contribution section. USPS Methods 2.9.5 4 Jan 2008
FrankPC Posted May 15, 2009 Author Posted May 15, 2009 This is a known bug. You may want to update your usps shipping module via contribution section. USPS Methods 2.9.5 4 Jan 2008 Thank you so much for your reply! I believe I found a fix for the the standard oSc USPS module. I now have all 14 options working with very little change..... In the usps.php file, you need to replace the elements in the existing array around line 51 with the 14 listed below. I am new at this, but it seems USPS changed the names they use... perhaps adding several completely new ones at the same time. With the correction of the array with the names listed below, there will be 14 options listed in oSc for International shipping and they do indeed "stay" selected at the confirmation screen. Perhaps only 4 or 5 were working before. I have done very little testing, but I did go through each option to see if each one "stayed". I used a one ounce product as a test. $this->intl_types = array('Global Express Guaranteed', 'Global Express Guaranteed Non-Document Rectangular', 'Global Express Guaranteed Non-Document Non-Rectangular', 'Express Mail International (EMS)', 'Express Mail International (EMS) Flat-Rate Envelope', 'USPS GXG Envelopes', 'Priority Mail International', 'Priority Mail International Regular/Medium Flat-Rate Boxes', 'Priority Mail International Flat Rate Envelope', 'Priority Mail International Large Flat-Rate Box', 'Priority Mail International Small Flat-Rate Box', 'First Class Mail International Letters', 'First Class Mail International Large Envelope', 'First Class Mail International Package'); Again, thank you for the help! Frank
Recommended Posts
Archived
This topic is now archived and is closed to further replies.