Forums / Built-in Shipping and Payment Modules / USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Locked

Views: 4,232

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
25 May 2009, 3:22 PM
#1
greengreetings avatar

greengreetings

Zen Follower

Join Date:
May 2009
Location:
Virginia
Posts:
90
Plugin Contributions:
0

USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

I reinstalled the USPS module, put server as production, turned off debug mode, and still I receive the error: 2147219434 - First Class mail must weigh 13 ounces or less.

What am I doing wrong now? :dontgetit

26 May 2009, 4:02 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Did you install the May 2008 USPS shipping module?
http://www.zen-cart.com/forum/showthread.php?t=97461

Also check your Tare settings in the Shipping/Packaging ...

And, check that you did contact USPS, after obtaining your USPS Web Tools User ID and had them Activate your account for use with the Production server ...

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!

29 May 2009, 2:39 PM
#3
greengreetings avatar

greengreetings

Zen Follower

Join Date:
May 2009
Location:
Virginia
Posts:
90
Plugin Contributions:
0

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Every thing would have been great if I wasn't an idiot and skipped a step while updating the patch. :oops: Since I just overwrote the file instead of uninstalling through the admin settings, I receive this message when I look at my shipping settings:

Fatal error: Cannot redeclare class usps in /usr/www/users/jgreen23/catalog/includes/modules/shipping/usps.php on line 15

And my USPS module doesn't show up. I tried deleting the whole shipping module from the modules folder and reinserting it from the original Zen Cart, but that didn't work either. I've made an even bigger mess.

Any suggestions? :cry: Also, USPS said that on their end every thing is running fine.

29 May 2009, 3:08 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Sounds like you have a duplicate or backup file for the usps.php or possibly copied the code to the language directory ...

In the Tools ... Developers Tool Kit ... in the bottom input box enter:
class usps

select Catalog ... and click search ...

You should only have 1 file with this in the:
/includes/modules/shipping/usps.php

If you find more than one, then that is the source of your error ...

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!

29 May 2009, 4:23 PM
#5
greengreetings avatar

greengreetings

Zen Follower

Join Date:
May 2009
Location:
Virginia
Posts:
90
Plugin Contributions:
0

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

:clap: I deleted all of the extra modules and replaced them exactly as they were in the original cart and success! Thanks so so much. You're the best! Now to upgrade and test it out. Wish me luck!

xo.

29 May 2009, 4:34 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Thanks for the update that you could clear the error on the duplicate redeclare class error ... let us know how it goes on the update ... :smile:

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!

29 May 2009, 4:46 PM
#7
greengreetings avatar

greengreetings

Zen Follower

Join Date:
May 2009
Location:
Virginia
Posts:
90
Plugin Contributions:
0

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

I followed all of the instructions on the thread you posted above and everything works! :clap: I am so excited. One success closer to changing my site from HTML to PHP. PHP isn't so bad. It just takes getting used to. It saves me from doing a whole lot of cut and paste. That's for sure. And I love having SSL. I am so happy. Thank you so so so much. I know people post things over and over. Still, thank you for answering my question. Forums rock! :bigups:

29 May 2009, 4:48 PM
#8
greengreetings avatar

greengreetings

Zen Follower

Join Date:
May 2009
Location:
Virginia
Posts:
90
Plugin Contributions:
0

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

One more question: I don't need to have both Zone Rate and USPS modules up do I? It looks like it's redundant to do so.

29 May 2009, 9:03 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

You decide how You want to offer shipping to your customers ...

If you ONLY want to offer USPS then ONLY install USPS ...

All modules for Shipping, Payment and Order Totals should be REMOVED if they are not being used ...

NOTE: on shipping modules such as USPS and UPS it matters if the customer lives in places such as Guam and thinks the country is Guam or the Country is the United States ...

The USPS shipping module gets its rate quotes from USPS which is follows the rules and guidelines of the United States Government and recognizes Guam as a "state" of the United States as it is a US Territory ...

UPS however, not being related to the United States Government recognizes Guam as its own Country ...

This means, that if the customer defines a Guam Address as:
State: Guam
Country: United States

then they will get a quote for USPS but not one for UPS ...

If the customer deines a Guam Address as:
Country: Guam

then they will get a quote for UPS but not for USPS ...

Some places run both shipping modules and others run one or the other and clean up the Zones/countries to work for the one that they use ...

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!

29 Jun 2010, 6:50 PM
#10
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

I am trying to figure out what these mean and why I am getting them. Can someone help!

#1

<?xml version="1.0"?>

<Error><Number>-2147219099</Number><Source>Rate_Respond.;clsRateV3.UnpackRateNode;SOLServerRates.RateV3_Resp ond</Source><Description>Missing value for ZipDestination.</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error>

#2

<?xml version="1.0"?>

<RateV3Response><Package ID="0"><ZipOrigination>91381</ZipOrigination><ZipDestination>92081</ZipDestination><Pounds>23</Pounds><Ounces>0</Ounces><Size>REGULAR</Size><Zone>2</Zone><Postage CLASSID="3"><MailService>Express Mail</MailService><Rate>51.40</Rate></Postage></Package><Package ID="1"><Error><Number>-2147219434</Number><Source>DomesticRatesV3;clsRateV3.ValidateWeight;RateEngineV3.ProcessRequ est</Source><Description>First Class mail must weigh 13 ounces or less.</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package><Package ID="2"><ZipOrigination>91381</ZipOrigination><ZipDestination>92081</ZipDestination><Pounds>23</Pounds><Ounces>0</Ounces><Size>REGULAR</Size><Zone>2</Zone><Postage CLASSID="1"><MailService>Priority Mail</MailService><Rate>18.15</Rate></Postage></Package><Package ID="3"><ZipOrigination>91381</ZipOrigination><ZipDestination>92081</ZipDestination><Pounds>23</Pounds><Ounces>0</Ounces><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>2</Zone><Postage CLASSID="4"><MailService>Parcel Post</MailService><Rate>13.20</Rate></Postage></Package></RateV3Response>

Also, I wondered if anyone knew what the best setting for this option is:

Packages 35lbs or more, or less than 6 ounces (.375), will be overridden and set to False

True
False

12 Oct 2010, 12:49 AM
#11
fontaholic avatar

fontaholic

Zen Follower

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

i'm getting this error too. the lady at the usps said i was activated for production and i've updated my usps.php file to the 2008 version.

Ajeh:

Also check your Tare settings in the Shipping/Packaging ...

can you tell me more about this step please? am i looking in the usps module? i'm not seeing anything that says Tare.:huh:

:) emily
http://store.inspiritcommon.com/
ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

12 Oct 2010, 12:59 AM
#12
fontaholic avatar

fontaholic

Zen Follower

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

when selected, i can get the module to display rates for everything other than first class, but my dropshipper only uses first class and when i only have that option selected, i get this error. i've also got all the international options turned off.

:) emily
http://store.inspiritcommon.com/
ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff

12 Oct 2010, 1:09 AM
#13
ajeh avatar

ajeh

Oba-san

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

Go to your Zen Cart Admin to the menu choice for:
Configuration ... Shipping/Packaging ...

What are your settings there?

Based on your signature, you are using an out of date version of Zen Cart ... which makes me wonder if you are using an out of date version of USPS ...

Go to the Tools ... Developers Tool Kit ...

in the bottom input box enter:
usps.php

select Catalog ... click SEARCH ...

What is the version id for the file:
/includes/modules/shipping/usps.php

NOTE: be sure that you have applied all of the Known Bug Fixes:
http://www.zen-cart.com/forum/showthread.php?t=82619

NOTE: be sure that you have applied all of the Security Patches and Updates ... which includes an Update to USPS:
http://www.zen-cart.com/forum/showthread.php?t=131115

NOTE: the current version of Zen Cart includes all of these bugfixes, security patches and updates plus a whole lot more ...

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!

12 Oct 2010, 1:13 AM
#14
fontaholic avatar

fontaholic

Zen Follower

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

Re: USPS error: 2147219434 - First Class mail must weigh 13 ounces or less.

thank you ajeh... i will start ticking those off... or maybe tomorrow will just be the day that i bite the bullet and install the update to 1.3.9. i'm just a little terrified of doing that because i can mess things up so easily -- and i'm so close to feeling like i can put this site out to the world...

:) emily
http://store.inspiritcommon.com/
ZC 1.3.8a on Godaddy :: EP 1.2.5.4 :: Adv Search 1.1 and a buncha other stuff