Zen Cart Logo
Forums / Addon Shipping Modules / July 28 USPS (Version H)...can't select First Class domestic

July 28 USPS (Version H)...can't select First Class domestic

Views: 1,671

Results 1 to 9 of 9
28 Jul 2013, 6:40 PM
#1
azzenner avatar

azzenner

New Zenner

Join Date:
Oct 2005
Posts:
65
Plugin Contributions:
0

July 28 USPS (Version H)...can't select First Class domestic

Ajeh,
The thread was closed and the pinned announcement post did not let me post.

What's happening is that First Class is showing on the estimator (along with the others I have selected in admin) but
it is not allowing checkout to proceed. My other methods do allow checkout to proceed. I tried it with the first class filter both on and off.
When I disable first class as an allowable option for shipping, the other methods do proceed to the next page of checkout.

This issue is for domestic (USA) shipping. Will attach debug zip file.

I'm now going to do more extensive testing on International (also for First class parcels, etc.)

Thanks,
Debbie

28 Jul 2013, 6:42 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: July 28 USPS (Version H)...can't select First Class domestic

Try this fix on line 509:

          if ($method != $type && $method != $type_rebuilt) {

Let us know how that works for you, thanks!

28 Jul 2013, 6:52 PM
#3
azzenner avatar

azzenner

New Zenner

Join Date:
Oct 2005
Posts:
65
Plugin Contributions:
0

Re: July 28 USPS (Version H)...can't select First Class domestic

It worked, thanks! It's the USPS.PHP file in includes/modules/shipping for those of you needing to fix this.

Thanks again, Ajeh!
Debbie

28 Jul 2013, 7:51 PM
#5
akabin avatar

akabin

New Zenner

Join Date:
Feb 2010
Posts:
24
Plugin Contributions:
0

Re: July 28 USPS (Version H)...can't select First Class domestic

Version J still doesn't fix it, but the above code change to Version J does.

28 Jul 2013, 8:33 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: July 28 USPS (Version H)...can't select First Class domestic

Gads ... the zips got mixed up when I was uploading.

The Version J zip has been replaced (and tested!).

29 Jul 2013, 4:07 PM
#7
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: July 28 USPS (Version H)...can't select First Class domestic

I am using the Zen Cart Version 1.5.1. I have tried to install the Zen Cart update to the US Postal Service change and it does not work yet. I first tried to install the J version, then I saw that one would not work and went to the add on page and downloaded the USPS "Download Latest" and downloaded it. I uninstalled the old version from my admin panel, uploaded the new version to my server and loaded up the new version.** I noticed that when I was going into my admin panel to tune on and adjust the settings that the panel stated I had version 2013-03-27 installed. **I could not uncheck that radio button. I went ahead and put in my information and tried it out, on the off chance it would work. It does not work.

Does this need to propagate through the system before it works? (I hope not).

I did try installing this before and was using the J version, then took that off my server when I read that the wrong one was uploaded.

I manually installed each file usps.php from the downloaded add-on just as it was listed for the two files:

admin/includes/languages/english/modules/shipping
(I checked that one and it is in there correctly, 1852 is the file size and the time stamp is correct)

and

admin/includes/modules/shipping
(I checked that one and it is in there correctly, 93964 is the file size and the time stamp is correct)

Would you please tell me what I have to do to make this work? Thank you very much.

29 Jul 2013, 5:29 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: July 28 USPS (Version H)...can't select First Class domestic

If you do not see the right version (and that is just a radio button you cannot change) you should:

1 save your settings in NotePad

2 REMOVE

3 check that you have (on the server) the J version on your site in the file:
/includes/modules/shipping/usps.php

4 INSTALL

5 Configure all settings

29 Jul 2013, 8:19 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: July 28 USPS (Version H)...can't select First Class domestic

fabienne:

admin/includes/languages/english/modules/shipping
admin/includes/modules/shipping
Um... why are you putting these files under your /admin/ folder? They don't belong there. It'll never use them there.