Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / USPS shipping module first clas intl issue

USPS shipping module first clas intl issue

Locked

Views: 3,976

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
4 Jan 2010, 4:48 PM
#1
cadoo avatar

cadoo

New Zenner

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

USPS shipping module first clas intl issue

Hello.

Our site is currently having issues with the USPS shipping module not allowing any international customers to choose the "first class international" rate.

I do know that the US post has changed rates today and assume this is why. I have removed and re-installed and i have the latest version of the usps.php file up. I have also made the changes as outlined here
http://www.zen-cart.com/forum/showthread.php?t=120640&highlight=usps+shipping+module&page=3

but alas i have had no luck.

site: http://www.n5mailorder.com

we are on v1.3.8

my debug info is below...and as you see it does not seem to be getting the First class int rates at all.

i assume this is a USPS issue...but maybe on chance they have changed the "name" of those rates and they should be updated in the array?

i'm a bit perplexed...

any help would be MUCH appreciated

thanks!!!

Areas Served: All</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><Service ID="4"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed (GXG)</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="6"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed Non-Document Rectangular</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="7"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed Non-Document Non-Rectangular</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="12"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>USPS GXG Envelopes</SvcDescription><MaxDimensions>Cardboard envelope has a dimension of 9 1/2" X 12 1/2" and GXG tyvek envelope has a dimension of 12 1/2" X 15 1/2"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="1"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>5 Days</SvcCommitments><SvcDescription>Express Mail International</SvcDescription><MaxDimensions>Max. length 42", max. length plus girth combined 79"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="10"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>5 Days</SvcCommitments><SvcDescription>Express Mail International Flat Rate Envelope</SvcDescription><MaxDimensions>USPS Supplied Envelope: 9 1/2" x 12 1/2"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="2"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>20.00</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International</SvcDescription><MaxDimensions>Max. length 60", max. length plus girth combined 108"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="11"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Large Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Large Box: 12" x 12" x 5 1/2". Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="9"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Medium Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Medium Box: 13 5/8" x 11 7/8" x 3 3/8" or 11" x 8 1/2" x 5 1/2". Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="16"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>11.45</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Small Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Small Box: 8 5/8" x 5 3/8" x 1 5/8". Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="8"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>11.45</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Flat Rate Envelope</SvcDescription><MaxDimensions>USPS Supplied Envelope: 9 1/2" x 12 1/2". Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="15"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>1.49</Postage><SvcCommitments>Varies</SvcCommitments><SvcDescription>First-Class Mail International Package</SvcDescription><MaxDimensions>Other than rolls: Max. length 24", max length, height and depth (thickness) combined 36" Rolls: Max. length 36". Max length and twice the diameter combined 42"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="14"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>1.29</Postage><SvcCommitments>Varies</SvcCommitments><SvcDescription>First-Class Mail International Large Envelope</SvcDescription><MaxDimensions>Max. length 15", height 12" or thickness 3/4"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="13"><Pounds>0</Pounds><Ounces>2</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>1.00</Postage><SvcCommitments>Varies</SvcCommitments><SvcDescription>First-Class Mail International Letter</SvcDescription><MaxDimensions>Max. length 11 1/2", height 6 1/8" or thickness 1/4"</MaxDimensions><MaxWeight>.21875</MaxWeight></Service></Package></IntlRateResponse>

4 Jan 2010, 5:01 PM
#2
cadoo avatar

cadoo

New Zenner

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

Re: USPS shipping module first clas intl issue

ok i see the first class int is there now. but it is not displaying on the site for our customers.

4 Jan 2010, 5:25 PM
#3
fright_rags avatar

fright_rags

Zen Follower

Join Date:
Aug 2005
Posts:
134
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

I'm having this problem too...anyone else??

4 Jan 2010, 6:07 PM
#4
sofafort avatar

sofafort

New Zenner

Join Date:
Jan 2009
Posts:
6
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

Same issue here -- other intl services are functioning properly. Tried this: http://www.zen-cart.com/forum/showthread.php?p=824204 but still no luck. Any help would be +100 karma. Thanks!

4 Jan 2010, 6:07 PM
#5
romanus avatar

romanus

Zen Follower

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

Re: USPS shipping module first clas intl issue

yes, I am having it too. Started at midnight

4 Jan 2010, 7:16 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

Apparently, USPS has once again changed the code ...

See if changing these lines in the file:
/includes/modules/shipping/usps.php

fixes the problem:

        'First Class Mail Int Lrg Env' => 'First[B]-[/B]Class Mail International Large Envelope',
        'First Class Mail Int Package' => 'First[B]-[/B]Class Mail International Package',
        'First Class Mail Int Letters' => 'First[B]-[/B]Class Mail International Letters',
        'First Class Mail Int Flats' => 'First[B]-[/B]Class Mail International Flats',
        'First Class Mail Int Parcels' => 'First[B]-[/B]Class Mail International Parcels'
4 Jan 2010, 7:49 PM
#7
sofafort avatar

sofafort

New Zenner

Join Date:
Jan 2009
Posts:
6
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

SUCCESS.

What was the change? Didn't look like much was altered.

Thanks for the ultra fast fix. +150 karma.

Erik

4 Jan 2010, 8:12 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

NOTE: a new update to the USPS shipping module for all changes will be posted soon ... yes, there are more ... :cool:

4 Jan 2010, 8:30 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

Please see the updated release for USPS RateV3 Januray 4, 2010 at:
http://www.zen-cart.com/forum/showthread.php?t=144992

4 Jan 2010, 8:35 PM
#10
patternman avatar

patternman

New Zenner

Join Date:
Jul 2008
Posts:
63
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

Worked for me as well!
Thanks for the ultra fast fix! :smile:

4 Jan 2010, 9:00 PM
#11
fright_rags avatar

fright_rags

Zen Follower

Join Date:
Aug 2005
Posts:
134
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

WOW..thanks so much!!

4 Jan 2010, 9:26 PM
#12
cadoo avatar

cadoo

New Zenner

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

Re: USPS shipping module first clas intl issue

yes yes thanks you SOOOOOO MUCH

very small changes eh?

thanks again!!!

4 Jan 2010, 9:28 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

It is small ... kinda, sorta ... well ... no biggy ... it just has a lot of updates to it for RateV3 and a few other additions ... plus the changes to work with the January 4, 2010 changes ... :lamo:

5 Jan 2010, 11:50 AM
#14
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

Thanks for posting the update Ajeh!! :D

5 Jan 2010, 8:06 PM
#15
tj1 avatar

tj1

Totally Zenned

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

Re: USPS shipping module first clas intl issue

Is it really necessary to uninstall/reinstall for the change to work?

I'm asking because it seems just replacing the file seems to fix the issue, but I'm not sure if uninstalling/resintalling does any addtional things.

5 Jan 2010, 9:10 PM
#16
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

There are some configuration_keys that really need to be set so it is advised that you do this properly and save your current settings and do the REMOVE, INSTALL and re-configure ...

7 Jan 2010, 8:24 AM
#17
tj1 avatar

tj1

Totally Zenned

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

Re: USPS shipping module first clas intl issue

OK, good to know, I will remove, install and reconfigure right away.

So far I had only replaced the file on all my sites and seemed like all that was needed.

7 Jan 2010, 3:04 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: USPS shipping module first clas intl issue

Please check the post:
http://www.zen-cart.com/forum/showthread.php?t=144992

for the digit fix for International based on a new change by USPS for processing only 5 digits on International ...

13 Jan 2010, 12:34 AM
#19
zaid avatar

zaid

New Zenner

Join Date:
Dec 2008
Posts:
6
Plugin Contributions:
0

Re: USPS shipping module first clas intl issue

I am currently having the same issue but have not tried the solutions posted above, for one main reason:

The zen-cart I am admin for is still 1.2.3 for reasons out of my control.

I was wondering if these fixes would work with/for 1.2.3.

Also for future reference: does this happen on every year with usps? Just so i can be prepared heh instead of get pwned :lamo:

I did note the tip

*NOTE: for older versions (prior to 1.3.x), try changing the line:
Code:

class usps extends base {

to read:
Code:

class usps {
*

Just want to make sure that I can do this with USPS_UPDATE_2010_0104_B.zip

Sorry to bother , The zen-cart gets high traffic , don't want to have to have it under maintenance for too long.

Thnx

13 Jan 2010, 1:12 AM
#20
romanus avatar

romanus

Zen Follower

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

Re: USPS shipping module first clas intl issue

It worked for me straight up on a 1.2.6 site. You don't have to take the site down, just make a back up of your existing usps.php file and try it out