Forums / Bug Reports / [Fixed - See post 26] USPS International shipping problem...

[Fixed - See post 26] USPS International shipping problem...

Locked

Views: 63,770

Results 21 to 40 of 238
This thread is locked. New replies are disabled.
3 Jan 2011, 12:44 AM
#21
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

[Fixed - See post 26] USPS International shipping problem...

Ok so figured out the function str_replace did the "cleaning", got the echo output on the site as an example as such:

Global Express Guaranteed® (GXG)**
USPS GXG™ Envelopes**

So in the type lines, I put the names as:

Global Express Guaranteed® (GXG)**
USPS GXG™ Envelopes**

but still not showing int usps options

3 Jan 2011, 1:20 AM
#22
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

1.3.8a

Had the same issues from first post.

-Uploaded Version B usps.php

-Remove, install cofig

It worked, but now only Express Int shows on the payment page no matter what is originally selected.

First Class Int is the default button filled, other options are Priority Int and Express Int.

Help! Thanks in advance!

3 Jan 2011, 2:05 AM
#23
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

Well .. try A and B aren't working ...

Back to the drawing board ... :lamo:

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 Jan 2011, 3:44 AM
#24
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Dear USPS:
All I want for Chrismas next year is for your idiot programers to not screw up a variable name while changeing the rates. How hard can that be? Change the numebers, leave the letters alone.

Mornfully yours for the 3rd year in a row;
Todd Jordan

Ajeh:
Thanks for your continued efforts to fight the evil that is the United States Post Office!

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

3 Jan 2011, 4:05 AM
#25
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

gothstone:

Dear USPS:
All I want for Chrismas next year is for your idiot programers to not screw up a variable name while changeing the rates. How hard can that be? Change the numebers, leave the letters alone.

Mornfully yours for the 3rd year in a row;
Todd Jordan

Ajeh:
Thanks for your continued efforts to fight the evil that is the United States Post Office!

I totally agree, I hate usps changing all this stuff. Last year it was easier to adjust, and thanks to the help on the forum we got it figured out. Monday morning is 12 hours away for me and I really need this fixed. I've been playing around with it but still no luck. I really appreciate your help Ajeh and hope we can figure this out soon. If you need any info from me to get this figured out let me know.

3 Jan 2011, 5:16 AM
#26
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

This is not my favorite solution for the USPS January 2, 2011 changes ... however it does work for everything ...

This may change later, but it will get you the USPS quotes for the time being ...

Please let me know if you have any problems with this ...

NOTE: for those making custom code, the extra HTML has been stripped from the shipping methods, at this time ...

1 Go to Modules ... Shipping ... and save old settings to NotePad

2 Load new usps.php to the server to:
/includes/modules/shipping

3 Go to Modules ... Shipping ...
Click on USPS
Click REMOVE
Click INSTALL
Edit and reconfigure your settings

4 If using Tare Rates on some settings, for International to work you will need to edit the usps.php file and change the rounding from 3 to 2 ...

Line 193 old: $shipping_ounces = zen_round($shipping_ounces, [B]3[/B]);

USPS January 2, 2011 C

NOTE: as of January 22, 2012
USPS has been updated for the January 22, 2012 and is in the Free Software Add ons at:
http://www.zen-cart.com/showthread.php?191406-USPS-January-22-2012

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 Jan 2011, 5:44 AM
#27
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

This version is also working fine for me. I only use a few classes of mail and both domestic and international priority and express are working great for me.

Many thanks for your efforts, Ajeh.

Ed

3 Jan 2011, 6:12 AM
#28
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Working great for me. Thanks Ajeh!

Why do you not like this solution Ajeh?

Let us know if there are any solutions that you like better than this fix.

3 Jan 2011, 1:42 PM
#29
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Thank you for all your efforts Ajeh! Works perfectly!!!

3 Jan 2011, 2:06 PM
#30
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

excellent!

All is well.

Whew!

3 Jan 2011, 3:14 PM
#31
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Hi I'm trying to update to the new rates. I noticed that there is no readme file together with this update and I don't want to mess up the site. Is it the includes/modules/shipping/usps.php that i need to change?
Thank you!
:dontgetit

3 Jan 2011, 3:22 PM
#32
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

melena:

Hi I'm trying to update to the new rates. I noticed that there is no readme file together with this update and I don't want to mess up the site. Is it the includes/modules/shipping/usps.php that i need to change?
Thank you!
:dontgetit

Yes, that's the correct location.

First, copy your settings from the existing USPS module and then click the remove button. Upload the new file and then re-install the module using the settings you saved earlier.

Ed

3 Jan 2011, 5:29 PM
#33
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Thanks for the quick fix! it's working so far.

3 Jan 2011, 5:39 PM
#34
romanus avatar

romanus

Zen Follower

Join Date:
Feb 2004
Location:
portsmouth, nh us
Posts:
101
Plugin Contributions:
3

Re: [Fixed - See post 26] USPS International shipping problem...

will this work with older versions as well, specifically 1.3.8a?

"You must be the change you wish to see in the world" - Ghandi

3 Jan 2011, 5:42 PM
#35
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

This should work on older versions of Zen Cart ...

Some version, very old ones, will need the line:

class usps extends base {

changed to:

class usps {

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 Jan 2011, 6:08 PM
#36
romanus avatar

romanus

Zen Follower

Join Date:
Feb 2004
Location:
portsmouth, nh us
Posts:
101
Plugin Contributions:
3

Re: [Fixed - See post 26] USPS International shipping problem...

confirmed works with 1.3.8a thanks :-)

"You must be the change you wish to see in the world" - Ghandi

3 Jan 2011, 6:30 PM
#37
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

I also confirm that it's now working. (I was wondering why we had a drop off in sales). Glad we all caught it in time. Thanks again Ajeh for the help!

  • Jeff
3 Jan 2011, 6:32 PM
#38
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Also working for me (1.3.8a). I wouldn't have know it was a problem if a customer hadn't asked my why USPS wasn't an option any longer!

Thanks for the quick fix!

3 Jan 2011, 9:14 PM
#39
mribble avatar

mribble

New Zenner

Join Date:
May 2010
Posts:
5
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Fixed it for me. Thank!

3 Jan 2011, 9:55 PM
#40
seanloberg avatar

seanloberg

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Also, if, after installing Ajah's quick fix, international is showing up, but domestic is not, change, on line 193 the zen_round from 3 to 2 ...
Line 193 old: $shipping_ounces = zen_round($shipping_ounces, 3);

Line 193 new: $shipping_ounces = zen_round($shipping_ounces, 2);

for some reason, USPS can't handle 3 digits!

P.S. All credit to Ajeh, who found this for me months ago! Thanks again for the quick action Ajeh!!!