Forums / Built-in Shipping and Payment Modules / USPS problem - select one method, returns another

USPS problem - select one method, returns another

Locked

Started by muttoaoa on 18 Nov 2007, 3:26 PM · Views: 12,873

Results 41 to 60 of 65
This thread is locked. New replies are disabled.
19 Nov 2007, 11:37 PM
#41
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

USPS problem - select one method, returns another

romanus:

Hi, I am having this problem as well unfortunately I am running 1.2.6 and this patch doesn't work for me. Is there anything you can point me towards that will allow me to fix the 1.2.6 version? Upgrading to 1.3.7 is in progress, it is just a time consuming process.

Thanks

For older versions of Zen Cart, edit the file:
/includes/modules/shipping/usps.php

yes, the new updated file ... and change the line:

class usps extends base {

to read:

class usps {

NOTE: This change should only be needed for sites older than Zen Cart v1.3.x ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2007, 1:17 AM
#42
dman76 avatar

dman76

Zen Follower

Join Date:
Jun 2007
Posts:
107
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Thanks for fixing this. I have one question here that is kinda a little off topic, but I am still learning about overrides. In a case like this, is it better to put a file like the usps.php in the /includes/modules/shipping/ or the /includes/modules/YOUR TEMPLATE/shipping directory?

Thanks again!

20 Nov 2007, 1:26 AM
#43
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: USPS problem - select one method, returns another

since this is an official patch you will want to put it in the normal folder, over-writing the current file

Zen cart PCI compliant Hosting

20 Nov 2007, 8:09 PM
#44
scarlet avatar

scarlet

Zen Follower

Join Date:
Jun 2004
Posts:
127
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

I noticed after applying this patch that the parcel post rates seem extremely high. Does this look right?

Available Shipping Methods Rates
United States Postal Service (1 x 4.00lbs) (Express Mail (1 - 2 days)) $27.60
United States Postal Service (1 x 4.00lbs) (Priority Mail (2 - 3 days)) $6.65
United States Postal Service (1 x 4.00lbs) (Parcel Post (4 - 7 days)) $10.44

I did a lookup on USPS and here are the results:

Express Mail® Overnight to most areas $27.60
Priority Mail® 2 days 6.65
Parcel Post® 3 days 6.55

20 Nov 2007, 8:29 PM
#45
njf avatar

njf

New Zenner

Join Date:
Feb 2007
Posts:
5
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

We applied the fix also today, and looking at the rates, parcel post does appear to be high now.

20 Nov 2007, 8:30 PM
#46
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Scarlett, in the usps config change the machinable setting to TRUE. This will give the right Parcel post rates-- unless you are shipping non machinable boxes-- things in bags etc.

To get International rates I had to add capitalization in two areas listed below

Tom

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

AND TOWARDS THE BOTTOM OF THE FILE

$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('International Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES_INTL', 'Global Express, Global Express Non-Doc Rect, Global Express Non-Doc Non-Rect, Express Mail Int, Express Mail Int Flat Rate Env, Priority Mail International, Priority Mail Int Flat Rate Env, Priority Mail Int Flat Rate Box, First-Class Mail Int', 'Select the international services to be offered:', '6', '15', 'zen_cfg_select_multioption(array(\'GLOBAL EXPRESS\', \'GLOBAL EXPRESS NON-DOC RECT\', \'GLOBAL EXPRESS NON-DOC NON-RECT\', \'EXPRESS MAIL INT\', \'EXPRESS MAIL INT FLAT RATE ENV\', \'PRIORITY MAIL INTERNATIONAL\', \'PRIORITY MAIL INT FLAT RATE ENV\', \'PRIORITY MAIL INT FLAT RATE BOX\', \'FIRST-CLASS MAIL INT\'), ',  now())");
21 Nov 2007, 5:15 AM
#47
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Darn USPS, they should've given us a warning.

Now I have to deal with dozens of angry customers.

I better install the patch right away.

BTW, if you use GoogleCheckout and merchant calculated shipping, I think you'll need to modify it too, because it's not working as it is right now.

21 Nov 2007, 2:05 PM
#48
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Ajeh:

I have posted a patch for USPS changes until a fuller solution has been reached with USPS to know what all has been changed.

http://www.zen-cart.com/forum/showthread.php?t=80695

Linda,

Thanks SO much for posting this. I was wondering why we got NO orders for two days, as we're beginning our busiest season... A customer called this morning to tell me she could not select the "less expensive" shipping method. I wonder how many orders we lost over the USPS change. We should all complain to the Postal Service over this STUPID timing of a change.

It's working GREAT for me now.

Thanks again!

VTstuff.com, Quality gifts and products from Vermont.

21 Nov 2007, 3:34 PM
#49
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Wow, thanks guys. I only noticed it today when I was submitting an order for a client. Who knows how many people just did not buy and never bother to report a problem to the site administrators.

:clap: Marc

21 Nov 2007, 8:06 PM
#50
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Not using USPS ourselves, I have no idea for the costs of the Service they provide. I do believe as many others, it is a very good Service for Store Owners to offer their Shoppers. As with most things though, one must live with the situation or choose something else.

I would suggest that instead we look at the positive; how fast the Zen Cart Team handled the situation on their end to provide a solution. Believe me when I say, I am sure there are (many?) others using "whatever" eCommerce software and do not yet have a solution the problem.

The learning is in the doing.

Potent Products

22 Nov 2007, 3:15 AM
#51
kaylala avatar

kaylala

New Zenner

Join Date:
Apr 2006
Location:
Baltimore
Posts:
41
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

I LOVE YOU GUYS (& GALS)!

I just had a customer contact me today about this issue... I racked my brain trying to figure it out... finally searched the forum for an answer... and sure enough it has already been resolved! The patch worked great for me!

THANKS!!!!!

24 Nov 2007, 4:27 AM
#52
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS problem - select one method, returns another

Website Rob:

Not using USPS ourselves, I have no idea for the costs of the Service they provide. I do believe as many others, it is a very good Service for Store Owners to offer their Shoppers. As with most things though, one must live with the situation or choose something else.

I would suggest that instead we look at the positive; how fast the Zen Cart Team handled the situation on their end to provide a solution. Believe me when I say, I am sure there are (many?) others using "whatever" eCommerce software and do not yet have a solution the problem.

Thanks for the kind words ... we try to solve issues as fast as we can when they occur like this ...

Remember us fondly as you make your sales and why you all have chosen Zen Cart ... we too appreciate your support ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Nov 2007, 5:44 PM
#53
shamusomalley avatar

shamusomalley

Zen Follower

Join Date:
Jun 2005
Location:
Center of the Universe
Posts:
192
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Thanks for the patch ZC team. Works great!

Remember all, your user ID will be lost when you uninstall and re-install the shipping mod so make note of it before doing so. Took me forever to find my user id again.

shamusOmalley
www.unforgottencards.com

2 Dec 2007, 9:52 PM
#55
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

No wonder I have a bunch of orders in the Recover Carts page! Thanks so much for the forum and the quick fix.

Give us your best shot!
http://www.photoimprints.com

1 Feb 2008, 9:02 PM
#56
shepherd avatar

shepherd

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

kaylala:

I LOVE YOU GUYS (& GALS)!

I just had a customer contact me today about this issue... I racked my brain trying to figure it out... finally searched the forum for an answer... and sure enough it has already been resolved! The patch worked great for me!

THANKS!!!!! I am glad that you all are up and running again. I am suffering the same exact problem and clearly am going about fixing it in correctly. :frusty: Let us pretend I am a fourth grader, keeping that in mind, would someone mind walking me through where to apply the patch etc. step by step?
Consider me newer than a NOOB...that way I will not feel as stupid :oops:

2 Feb 2008, 8:08 PM
#57
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS problem - select one method, returns another

Depending on your version of Zen Cart and whether an Upgrade or Clean install ... you may wish to look at this thread:
http://www.zen-cart.com/forum/showthread.php?t=80695

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

3 Feb 2008, 1:53 PM
#58
shepherd avatar

shepherd

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Ajeh:

Depending on your version of Zen Cart and whether an Upgrade or Clean install ... you may wish to look at this thread:
http://www.zen-cart.com/forum/showthread.php?t=80695

Yes, I read this thread among many others several times. The problem for me is that the patch is not working and I have not applied one before. So I am uncertain where I should go to apply it. If someone would not mind just giving a quick run down of i.e. 1. open such and such 2. Click on such and such etc.

By the way thank you for the quick response, very much appreciated.

Doughnuts and coffee are on me :D

3 Feb 2008, 4:36 PM
#59
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS problem - select one method, returns another

If you loaded the files from the Nov USPS Patch to your server the files should be loaded to:
/includes/modules/shipping/usps.php
/includes/languages/english/modules/shipping/usps.php

Then, write down your settings, including your ID ... and REMOVE the USPS module in the Modules ... Shipping ... and INSTALL the USPS shipping module and reconfigure ...

What version of Zen Cart are you running?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Feb 2008, 6:01 AM
#60
dbustin avatar

dbustin

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

I too have installed this patch on an older installation (1.2.6) per the instructions - all configuration values have been updated and the code change was made.

There is no longer a prompt for the USPS password and a different error is now occuring.

"Authorization failure. Perhaps username and/or password is incorrect."

From reading this thread, it appears everyone who installed this patch got it to work - how can it work without a password?

Please help!