Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / We are unable to find a USPS shipping quote suitable for your mailing address

We are unable to find a USPS shipping quote suitable for your mailing address

Started by froman2686 on 7 Jul 2009, 7:07 PM · Views: 6,320

Results 1 to 20 of 20
7 Jul 2009, 7:07 PM
#1
froman2686 avatar

froman2686

New Zenner

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

Post #1 by froman2686

"We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use."

My USPS account is configured and I've installed that patch I saw floating around here. I input my home address to ship to and my business address is properly set up in my webtools account. I don't have zones configured (so shipping through usps should be applicable everywhere). Is there something I'm missing?

7 Jul 2009, 8:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

In your Zen Cart USPS module settings, you can select which shipping methods you want to allow people to select. Perhaps USPS isn't allowing certain methods for certain destinations/weights?
What happens if you enable all the options?
What is the weight you've assigned to the product you've added to your cart?
And, in your Admin->Configuration->Shipping/Packaging, have you set up your zip code properly?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jul 2009, 8:40 PM
#3
froman2686 avatar

froman2686

New Zenner

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

Post #3 by froman2686

I have enabled all options, both national and international, as I thought that might be an issue. Doesn't seem to make a difference.
The weight I've assigned is 2 pounds, and my zip code is configured correctly (although I wonder if the USPS module would be interested in that or in my profile with WebTools? academic question, doesn't seem to matter either way as the zips are identical in both)

Additionally, I have debug mode enabled but I don't receive any emails based on my attempts.

7 Jul 2009, 9:57 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

When you mention your "WebTools" profile, are you referring to your USPS Shipping Assistance profile? Or your actual WebTools user ID? They are different.
Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=327

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Jul 2009, 8:51 AM
#5
froman2686 avatar

froman2686

New Zenner

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

Post #5 by froman2686

It is a webtools user ID that I put in. I also called USPS and verified that I am in production mode. I still receive the same error.

8 Jul 2009, 10:37 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

That particular error message is a catch-all error which appears only when the response from USPS is not usable and there wasn't an obvious connection failure when asking the USPS server for the quote. A fringe case would be if you had unchecked several delivery methods and those were the only ones USPS would allow for the given destination.

Basically, you should never see that error.

And, it's odd that you're seeing nothing in debug emails ... which suggests that it's not actually even attempting to get a quote.

Perhaps one or more of your PHP files is damaged on the server? esp the /includes/modules/shipping/usps.php file?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Jul 2009, 3:27 PM
#7
froman2686 avatar

froman2686

New Zenner

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

Post #7 by froman2686

I have re-uploaded the usps.php file from the patch I found on these forums, but I still receive the same error.

You're absolutely correct, though. I wrote a short test script to see if I could pull rates through the API, and it worked without error. It's only when attempting to pull information through Zen-Cart that I receive this notice.

Okay, I fixed it by re-uploading the original usps.php that came with my zen-cart. Odd. From what I read in the forums, even with the latest Zen-Cart, that patch was necessary. Did I misread it, maybe? Well, it's working correctly now, regardless. Thanks for the help!

8 Jul 2009, 4:31 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

With v1.3.8, you would need the May 12, 2008 patch posted here: http://www.zen-cart.com/forum/forumdisplay.php?f=2. If you don't patch it, you'll end up missing certain quotes, and will get duplicate quotes on certain shipping options.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Aug 2009, 4:39 PM
#9
gandalf88 avatar

gandalf88

New Zenner

Join Date:
Aug 2009
Posts:
3
Plugin Contributions:
0

Post #9 by gandalf88

I just downloaded the May 12th patch, uploaded the new usps.php to my modules/shipping directory, reinstalled the module, and am still getting the error. Has their been another patch since that one that I need instead?

12 Aug 2009, 6:40 PM
#10
gandalf88 avatar

gandalf88

New Zenner

Join Date:
Aug 2009
Posts:
3
Plugin Contributions:
0

Post #10 by gandalf88

gandalf88:

I just downloaded the May 12th patch, uploaded the new usps.php to my modules/shipping directory, reinstalled the module, and am still getting the error. Has their been another patch since that one that I need instead?

Never mind, I figured it out. USPS can't be trusted to do anything right on their end apparently. They never actually turned my account over to Production despite telling me otherwise.

13 Aug 2009, 5:33 PM
#11
ajeh avatar

ajeh

Oba-san

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

Post #11 by ajeh

Thanks for the update that USPS did not have you enabled for the Production server, even though they originally said that you were ... double checking is always a good idea ... :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!

26 Aug 2009, 5:57 PM
#12
gorie avatar

gorie

New Zenner

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Post #12 by gorie

I'm getting the same error with one of my websites.

debug email shows the following:

<?xml version="1.0"?>

<Error><Number>-2147219085</Number><Source>Rate_Respond.DomesticRatesV2;SOLServerRates.Rate_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema.
</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error>

all shipping options are off except for USPS.

I have confirmed that I am on production server.

It was working fine until after upgrading from an older version of zen-cart. everything else seems to be working after the upgrade, except this.
Any ideas? Thanks for any help!

26 Aug 2009, 6:07 PM
#13
gorie avatar

gorie

New Zenner

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Post #13 by gorie

OK, I ended up uploading the usps.php from the older version of zen-cart (I'm helping my sister, not sure what version she was using before I upgraded) and now it appears to be working.

Neither the usps.php from the latest zen-cart version or the patch version linked in this thread worked, for some reason, but uploading the old file from the previous version seems to work.

22 Jan 2011, 4:02 PM
#14
ytech avatar

ytech

New Zenner

Join Date:
Jan 2011
Posts:
5
Plugin Contributions:
0

Post #14 by ytech

I'm having the same issue. I've contacted USPS and the have verified that my account is capable of doing international shipping etc... In my store, USPS is set to production, I have my web tools user id typed in correctly.
This has been happening since day 1 so here is my current configuration:
Shipping Modules > USPS
Enable USPS Shipping?:True
Web Tools User ID is typed in correctly (no extra spaces anywhere).
Which server to use: production
Handling Fee: 0
Tax Class: None
Tax Basis: Shipping
Shipping Zone: None
Sort Order: 0
All Packages are Machinable: False
USPS Options:
a) Display weight: unchecked
b) Display transit time: unchecked
Domestic Shipping Methods:
a) Priority
b) First Class
c) Parcel
International Shipping Methods:
a) Priority Mail International
Debug Mode: On (Since I want to find out what's going on).

Here's the debug in detail:

<?xml version="1.0"?>

<IntlRateResponse><Package ID="0"><Prohibitions>Arms, munitions, and parts and accessories thereof.
Coins, bank notes, currency notes; traveler's checks; securities payable to bearer; platinum, gold, or silver (manufactured or not); precious stones, jewelry, and other valuable articles.
Explosive and pyrotechnics articles; combustible materials.
Perishable infectious biological substances.
Perishable noninfectious biological substances.
Radioactive materials.</Prohibitions><Restrictions>The maximum value of a GXG shipment to ESTONIA is $2,499 or a lesser amount if limited by content or value.

  1. Articles subject to customs duty may not be sent in ordinary or registered First-Class Mail International items, including the Priority Mail International Flat Rate Envelope and Small Flat Rate Box.
  2. Flour and preparations of cereals are permitted to private persons subject to inspection by quarantine officials.
  3. Medicines, narcotic and psychotropic substances; other products used in medical treatment are subject to prior authorization by the Estonian Ministry of Social Maintenance Health Department or by the Estonian State Department of Veterinary.
  4. Wireless transmission equipment is subject to addressee's compliance with import restrictions, permits, or quota conditions.</Restrictions><Observations>None</Observations><CustomsForms>First-Class Mail International items and Priority Mail International Flat Rate Envelopes and Small Flat Rate Boxes:
    PS Form 2976 (see 123.61)
    Priority Mail International parcels:
    PS Form 2976-A inside 2976-E (envelope)</CustomsForms><ExpressMail>Country Code:
    EE

Reciprocal Service Name:
EMS

Required Customs Form/Endorsement

  1. Correspondence and business papers.
    PS Form 2976, Customs - CN 22 (Old C 1) and Sender's Declaration (green label). Endorse item clearly next to mailing label as BUSINESS PAPERS.

  2. Merchandise samples without commercial value and not subject to customs duty.
    PS Form 2976, Customs - CN 22 (Old C 1) and Sender's Declaration (green label).

  3. Merchandise and all articles subject to customs duty.
    PS Form 2976-A, Customs Declaration and Dispatch Note CP 72, inside a PS Form 2976-E, Customs Declaration Envelope CP 91. A commercial invoice must be included in each item.

Note:
Coins; banknotes; currency notes, including paper money; securities of any kind payable to bearer; traveler's checks; platinum, gold, and silver; precious stones; jewelry; watches; and other valuable articles are prohibited in Express Mail International shipments to Estonia.

Areas Served:

Express Mail International is available only to the following locations:

Area I:
Postal Codes 200001-200902 - Tallinn

Area II:
Hiiumaa
Jarvamaa
Jogevamaa
Kohtla-Jarve
Laanemaa
Laane-Virumaa
Narva
Parnu
Polvamaa
Raplamma
Saaremaa
Sillamae
Tartu
Valgamaa
Viljandimaa
Vorumaa</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><Service ID="4"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>245.75</Postage><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>Global Express Guaranteed<sup>&reg;</sup> (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>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>245.75</Postage><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>Global Express Guaranteed<sup>&reg;</sup> 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>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>245.75</Postage><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>Global Express Guaranteed<sup>&reg;</sup> 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>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>245.75</Postage><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>USPS GXG<sup>&trade;</sup> Envelopes</SvcDescription><MaxDimensions>Cardboard envelope has a dimension of 12-1/2" x 9-1/2" and GXG tyvek envelope has a dimension of 15-1/2" x 12-1/2"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="1"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>64.45</Postage><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Express Mail<sup>&reg;</sup> International</SvcDescription><MaxDimensions>Max. length 36", max. length plus girth 79"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="10"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>29.95</Postage><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Express Mail<sup>&reg;</sup> International Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2" x 9-1/2"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="17"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>29.95</Postage><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Express Mail<sup>&reg;</sup> International Legal Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 15" x 9-1/2"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="2"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>53.10</Postage><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail<sup>&reg;</sup> International</SvcDescription><MaxDimensions>Max. length 42", max. length plus girth combined 79"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="11"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>58.50</Postage><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail<sup>&reg;</sup> International Large Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Large Box: 12" x 12" x 5-1/2".<br>Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="9"><Pounds>8</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>ESTONIA</Country><Postage>45.50</Postage><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail<sup>&reg;</sup> International Medium Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Medium Box:<br>13-5/8" x 11-7/8" x 3-3/8" or 11" x 8-1/2" x 5-1/2".<br>Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service></Package></IntlRateResponse>

Any tips?

22 Jan 2011, 7:52 PM
#15
ajeh avatar

ajeh

Oba-san

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

Post #15 by ajeh

Did you install the current USPS January 2, 2011 C from post #26 and follow all of the instructions?
http://www.zen-cart.com/forum/showthread.php?t=171314&highlight=USPS+January+2011

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!

22 Jan 2011, 8:26 PM
#16
ytech avatar

ytech

New Zenner

Join Date:
Jan 2011
Posts:
5
Plugin Contributions:
0

Post #16 by ytech

I was thinking about it. But my international shipping never worked since day one (January 5th 2010). I basically need step by step detailed instructions of how to set it up since I'm not sure if I did it correctly, unless you did not see anything wrong with my posting.
Thanks for the fast reply though.
Do you think it's worth upgrading in my situation?

22 Jan 2011, 11:45 PM
#17
ajeh avatar

ajeh

Oba-san

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

Post #17 by ajeh

If, in January 2010, you did not load the update for the January 4, 2010 USPS update, you would of been broken ...

Now, it is January 2011 ...

Could you follow the step by step instructions on post #26 of the thread posted?

I am not sure where you are lost or confused ... :unsure:

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!

22 Jan 2011, 11:52 PM
#18
ytech avatar

ytech

New Zenner

Join Date:
Jan 2011
Posts:
5
Plugin Contributions:
0

Post #18 by ytech

I've just read it. I'll do it and let you know how it works. Thanks a lot for your support.

23 Jan 2011, 12:59 AM
#20
ajeh avatar

ajeh

Oba-san

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

Post #20 by ajeh

Ask in one thread and not all over the place ...

One of your threads I repeated again which is the current version ...

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!