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 1 to 20 of 65
This thread is locked. New replies are disabled.
18 Nov 2007, 3:26 PM
#1
muttoaoa avatar

muttoaoa

New Zenner

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

USPS problem - select one method, returns another

Pardon me for being a n00b, but I have a slight problem with my store.

I'm using the USPS Shipping module and I have three options: Media Mail, Priority Mail, and Express Mail.

If a customer chooses Media Mail in "Step 1 of 3 - Delivery Information" in "Step 2 of 3 - Payment Information" it shows Priority Mail.

What am I doing wrong and how can I fix it?

Thanks in advance.

18 Nov 2007, 5:09 PM
#2
joseph_heinen avatar

joseph_heinen

New Zenner

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

Re: USPS problem - select one method, returns another

I am having a similar problem that just started today

When Priority is checked it goes to express

could it be a problem with USPS ?

18 Nov 2007, 5:17 PM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Me too, I just installed usps mod and switched to the production server and even when selecting prioirty mail the next step shows express.......

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

18 Nov 2007, 5:44 PM
#4
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

Moving to Bug Reports ... thanks!

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!

18 Nov 2007, 5:51 PM
#5
dman76 avatar

dman76

Zen Follower

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

Re: USPS problem - select one method, returns another

So did this just happen to you today after it has been working for awhile, or is this the first time you tried it? I am having the same problem and am just finally ready to finish the site and this happened! So hopefully it is a quick fix. Just for some further info, I tested it out with an international package (Express and Priority is allowed), and whichever one I pick comes up correct.

18 Nov 2007, 5:54 PM
#6
joseph_heinen avatar

joseph_heinen

New Zenner

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

Re: USPS problem - select one method, returns another

Its been working fine for 2 years and was working fine yesterday

Then today...the glitch

I went to the USPS site and tried to use their contact form...but I got errors. I think they may be having computer problems

18 Nov 2007, 6:01 PM
#7
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

That could very well be as so far it isn't making sense in what I have tested thus far ... :blink:

But I will be looking into this later on today and see if there is something we are not aware of at USPS ... they are often so very helpful in telling us about changes ... :rolleyes:

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!

18 Nov 2007, 6:25 PM
#8
joseph_heinen avatar

joseph_heinen

New Zenner

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

Re: USPS problem - select one method, returns another

Thanks !!!

18 Nov 2007, 8:53 PM
#9
muttoaoa avatar

muttoaoa

New Zenner

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

Re: USPS problem - select one method, returns another

I set up the store on Friday, tested it yesterday and it was fine.

Noticed the problem this morning.

Hopefully it does turn out to be a quick fix.

Thanks the attention that you are giving it Ajeh.

18 Nov 2007, 10:50 PM
#10
kadaki avatar

kadaki

New Zenner

Join Date:
Nov 2007
Posts:
1
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

I just fixed this problem on my osc site. The problem is that the USPS just started returning the Method ID in all uppercase. The USPS module is comparing its mixed case string with the upper case string from the USPS server and then defaulting to the first method returned from USPS, which is express. Just update the module source so that 'Express' becomes 'EXPRESS', 'Priority' becomes 'PRIORITY', etc.

18 Nov 2007, 11:09 PM
#11
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

I tried changing the case and got no rates at all. I'm guessing there is one more place to change in the file for zen-- this fix seems to work for the oscommerce crowd.

Tom

18 Nov 2007, 11:17 PM
#12
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

Should we also make a change in the bottom of the file? It seems like the configs should be in caps

Tom

$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Domestic Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES', 'Express, Priority, First Class, Parcel, Media, BPM, Library', 'Select the domestic services to be offered:', '6', '14', 'zen_cfg_select_multioption(array('Express', 'Priority', 'First Class', 'Parcel', 'Media', 'BPM', 'Library'), ', now())");

18 Nov 2007, 11:22 PM
#13
hermes369 avatar

hermes369

New Zenner

Join Date:
Dec 2006
Location:
Augusta, GA
Posts:
74
Plugin Contributions:
0

Re: USPS problem - select one method, returns another

Since this is a new problem and no one has heard from USPS; I'd be hesitant to change anything. I'd really like to know if this is a problem or a feature first.

I'm glad I'm not the only one with this problem!

19 Nov 2007, 12:05 AM
#14
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

We are working on a solution for the unannounced changes with USPS ...

We do not have confirmation yet as to the extent of these changes ...

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!

19 Nov 2007, 12:10 AM
#15
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

I made changes in capitalization (array and config area) in my usps.php file and now usps works for domestic and international.

File attached

Tom

19 Nov 2007, 12:14 AM
#16
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

To make this work you need to uninstall usps shipping and then reinstall. After the reinstall, you'll see the shipping options in all caps where before it was not.

Tom

19 Nov 2007, 12:22 AM
#17
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

Update#3
The only rate I'm not getting is 1st class international. Otherwise all usps rates work.
:)

Tom

19 Nov 2007, 12:27 AM
#18
muttoaoa avatar

muttoaoa

New Zenner

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

Re: USPS problem - select one method, returns another

tomarriola:

I made changes in capitalization (array and config area) in my usps.php file and now usps works for domestic and international.

File attached

Tom
It worked for me.

I hope that there is nothing else wrong... and I kept the old usps.php file on hand just in case.

19 Nov 2007, 12:37 AM
#19
tomarriola avatar

tomarriola

Zen Follower

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

Re: USPS problem - select one method, returns another

Something changed at usps today and until the zen team gets a full fix here is mine. Domestic and international rates work correctly although no rates are returned for 1st class international

File attached.

I made changes in capitalization (array and config area) in my usps.php file and now usps works for domestic and international.

Uninstall the old usps and reinstall this one.

Tom

19 Nov 2007, 12:52 AM
#20
joseph_heinen avatar

joseph_heinen

New Zenner

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

Re: USPS problem - select one method, returns another

Thanks!!!!

Its now working using your file.

:clap::clap::clap::clap::clap::clap: