Forums / Built-in Shipping and Payment Modules / USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Started by 01011010 on 8 Aug 2007, 5:40 AM · Views: 27,934

Results 81 to 100 of 109
11 Oct 2012, 4:10 PM
#81
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

GrandpasToys:

Today I got the following debug logs(with USPS logs enabled):

[10-Oct-2012 20:33:59] PHP Warning: Invalid argument supplied for foreach() in /mysite.com/mystore/includes/modules/pages/checkout_shipping/header_php.php on line 191

[11-Oct-2012 00:13:39] PHP Warning: reset(): Passed variable is not an array or object in /mysite.com/mystore/adminfolder/modules.php on line 306

[11-Oct-2012 00:13:39] PHP Warning: Variable passed to each() is not an array or object in /mysite.com/mystore/adminfolder/modules.php on line 307

(Folder names in bold changed for this post)

I may have fixed the module.php error. I replace it with another module.php and am not getting the debug logs shown above, at least for now.
I am still getting the following usps debug logs:
1. When I add item to cart:
Oct 11 2012 11:49:46 --
Server: production
Weight = 2.5 Pounds: 2 Ounces: 8
ZipOrigination: 42378
ZipDestination:
Tare Rates - Small/Medium: 0:0 Large: 0:0
RESPONSE FROM USPS:

2. When I add destination address for calculating rate:
Oct 11 2012 11:54:59 --
Server: production
Weight = 2.5 Pounds: 2 Ounces: 8
ZipOrigination: 42378
ZipDestination: 76112
Tare Rates - Small/Medium: 0:0 Large: 0:0
RESPONSE FROM USPS:

11 Oct 2012, 4:12 PM
#82
drbyte avatar

drbyte

Sensei

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

GrandpasToys:

I may have fixed the module.php error. I replace it with another module.php and am not getting the debug logs shown above
replaced? with what? why?

.
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.

11 Oct 2012, 4:19 PM
#83
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

DrByte:

replaced? with what? why?

As an experiment, I renamed module.php to module_bak.php, then added an earlier version of module.php.
Now, I am not getting the debug error. I can go back to the updated version if you think I should.
Thanks for your help,
Grandpa

11 Oct 2012, 4:23 PM
#84
drbyte avatar

drbyte

Sensei

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Are any of your addons conflicting with original core code?

http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
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.

11 Oct 2012, 5:04 PM
#85
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

DrByte:

Are any of your addons conflicting with original core code?

http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

Here is the latest!
I have restored the original 1.5.0 modules.php file
And, as suggested by Ajeh, I uninstalled the USPS module
Testing the cart without the USPS module, I am getting no debug errors.
Also, the UPS module appears to be working correctly, whether as a Guest, or with a Registered Account.
Hopefully, we are narrowing down the possibilities.
If the UPS module is working correctly, does that mean there is not a port issue?

Now, I will reinstall the USPS module and check the debug logs again.

11 Oct 2012, 5:27 PM
#86
drbyte avatar

drbyte

Sensei

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

As far as I know, the USPS module uses the same port as the UPS module uses: the very basic standard always-available port 80.

.
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.

11 Oct 2012, 5:51 PM
#87
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Ajeh:

Please go to your Modules ... Shipping ... and click on USPS ...

Click on REMOVE ...**After removing I tested the cart and it does not generate any Debug logs. Cart and UPS appears to work correctly
**
then click on INSTALL ... and reconfigure your USPS ...
Do you see any new debug logs generated?
**Yes
[11-Oct-2012 13:06:07] PHP Warning: Variable passed to each() is not an array or object in /mysite.com/mystore/myadmin/modules.php on line 60

Oct 11 2012 13:08:33 -- Server: production Weight = 2.5 Pounds: 2 Ounces: 8ZipOrigination: 42378ZipDestination: Tare Rates - Small/Medium: 0:0 Large: 0:0RESPONSE FROM USPS: **

Next, login to your store and add a product and go to your shopping cart ...
Do you see any new debug logs generated?
**Yes
Oct 11 2012 13:20:53 -- Server: productionWeight = 2.5 Pounds: 2 Ounces: 8ZipOrigination: 42378ZipDestination: 76112Tare Rates - Small/Medium:0:0 Large: 0:0RESPONSE FROM USPS:

Oct 11 2012 13:09:48 -- Server: productionWeight = 5 Pounds: 5 Ounces: 0ZipOrigination: 42378ZipDestination: 44026Tare Rates - Small/Medium: 0:0 Large: 0:0RESPONSE FROM USPS:**

Do you see USPS? No

Next, go to your checkout to the shipping page ...
Do you see any new debug logs generated?
**Yes
Oct 11 2012 13:20:53 -- Server: productionWeight = 2.5 Pounds: 2 Ounces: 8ZipOrigination: 42378ZipDestination: 76112Tare Rates - Small/Medium: 0:0 Large: 0:0RESPONSE FROM USPS: **

Do you see USPS? No - just the original frustrating message "We are unable to find a USPS shipping quote suitable.. "

Hopefully this info will help

11 Oct 2012, 5:55 PM
#88
drbyte avatar

drbyte

Sensei

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Is the section about "RESPONSE FROM USPS" always empty? All the time?

.
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.

11 Oct 2012, 6:07 PM
#89
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

DrByte:

Is the section about "RESPONSE FROM USPS" always empty? All the time?

Yes, it appears to be consistently empty

11 Oct 2012, 6:09 PM
#90
drbyte avatar

drbyte

Sensei

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Most bizarre. Unsure why it's only your site and not tens of thousands of other merchants having the same problem.

.
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.

11 Oct 2012, 6:24 PM
#91
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

DrByte:

Most bizarre. Unsure why it's only your site and not tens of thousands of other merchants having the same problem.

Well, if both you and Ajeh are puzzled, then my situation is downright hopeless. Way beyond my expertise, which isn't much.
I would really like to be able to use the USPS module, but may have to forget it and use zone rates.
I still have my fingers crossed that you guys come up with a solution before you waste too much time on me.
I appreciate it,
Grandpa (aka Robert)

11 Oct 2012, 6:37 PM
#92
ajeh avatar

ajeh

Oba-san

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

What is odd about your site, is I have tested it on and off today and notice that right now ... both USPS and UPS are not working ...

Could you contact your hosting provider and ask them to check if there are issues with your site on the ports both incoming and outgoing for port 80 or anything else they might see that is stopping you from communicating with USPS and UPS?

Also, could you do a view on your server copy of the file:
/includes/modules/shipping/usps.php

and just for grins and giggles paste it here, to ensure that there are no changes to the code ...

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!

11 Oct 2012, 6:53 PM
#93
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Ajeh:

What is odd about your site, is I have tested it on and off today and notice that right now ... both USPS and UPS are not working ...

Could you contact your hosting provider and ask them to check if there are issues with your site on the ports both incoming and outgoing for port 80 or anything else they might see that is stopping you from communicating with USPS and UPS?

Also, could you do a view on your server copy of the file:
/includes/modules/shipping/usps.php

and just for grins and giggles paste it here, to ensure that there are no changes to the code ...

I will contact my provider.
When I pasted usps.php forum said it was too long. About twice as long as permitted

11 Oct 2012, 7:31 PM
#94
ajeh avatar

ajeh

Oba-san

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Could you zip it and add it as an attachment?

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!

11 Oct 2012, 7:42 PM
#95
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Ajeh:

Could you zip it and add it as an attachment?

Attachment #11291

First time I have attached a file to this forum. Hope it works.

Also, I contacted my webhost and ports are fine. They spent quite awhile looking for something and everything looked okay on their end. Directed me back to possibly Zen Cart software or USPS API setup.

11 Oct 2012, 8:09 PM
#96
ajeh avatar

ajeh

Oba-san

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

It works for everyone but you ... :lookaroun

Let me check your code for a bit but I am still thinking it is the port ... unless I find something with the code that isn't upgraded right ...

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!

11 Oct 2012, 8:49 PM
#97
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Ajeh:

It works for everyone but you ... :lookaroun

Let me check your code for a bit but I am still thinking it is the port ... unless I find something with the code that isn't upgraded right ...

IXWebhosting told me they were sure that Port 80 was fine. They said if it wasn't they wouldn't even be able to see my site. They told me to ask you if it was a port other than 80. They couldn't find anything wrong. They said if you found something that was required on their end let them know and they would try to help. Seems everyone is wondering about this. Just my luck that I am the only one with this problem.
Thank you so much.

11 Oct 2012, 8:53 PM
#98
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

GrandpasToys:

IXWebhosting told me they were sure that Port 80 was fine. They said if it wasn't they wouldn't even be able to see my site. They told me to ask you if it was a port other than 80. They couldn't find anything wrong. They said if you found something that was required on their end let them know and they would try to help. Seems everyone is wondering about this. Just my luck that I am the only one with this problem.
Thank you so much.

I am wondering if a clean install of 1.5.1 would cure the problem. I sure would hate to go to all the trouble of a clean install only to find it still did not work.

11 Oct 2012, 9:28 PM
#99
ajeh avatar

ajeh

Oba-san

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

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Could you look at your debug logs and give the file:
myDEBUG-1349990594-290815.log

to your hosting company to see the errors that are generated trying to contact USPS (first 3 lines) and UPS (4th line) and see if they can see anything based on that ...

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!

11 Oct 2012, 9:40 PM
#100
grandpastoys avatar

grandpastoys

New Zenner

Join Date:
Jul 2012
Location:
Kentucky
Posts:
38
Plugin Contributions:
0

Re: USPS does not work for me "We are unable to find a USPS shipping quote suitable..."

Ajeh:

Could you look at your debug logs and give the file:
myDEBUG-1349990594-290815.log

to your hosting company to see the errors that are generated trying to contact USPS (first 3 lines) and UPS (4th line) and see if they can see anything based on that ...

That was the first thing they asked for when I talked to them. I emailed them and they looked at them. They do not think the problem is on their end.

CORRECTION: I have not seen that one before. I will contact them and send it to them and get back to you with their response.