Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Unable to use USPS shipping module

Started by phuz on 25 May 2014, 5:58 PM · Views: 2,035

Results 1 to 13 of 13
25 May 2014, 5:58 PM
#1
phuz avatar

phuz

New Zenner

Join Date:
Jul 2012
Posts:
11
Plugin Contributions:
0

Post #1 by phuz

I have a customer trying to place an order but they are only getting "store pickup" as an option.
My USPS module has been activated for years and has always worked fine. This customer is in Canada while I am in the US. I just had another customer from the US place an order yesterday and it processed normally. I created a test account and when I choose an address in the US, it gives me shipping options, but when I set it to a Canadian address, I only get store pickup and the module says:

We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
If you prefer to use USPS as your shipping method, please contact us for assistance.
(Please check that your Zip Code is entered correctly.)

25 May 2014, 6:03 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

Check that you are using the current USPS March 7, 2014 K3 version ...
http://www.zen-cart.com/showthread.php?212467-USPS-RateV4-Intl-RateV2-Mar-7-2014-Version-K3-%28First%96Class-changes%29

This is also a good time to sign up to receive emails for the News & Announcement Forum:
http://www.zen-cart.com/forumdisplay.php?1-News-and-Announcements

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!

27 May 2014, 11:46 PM
#3
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0

Post #3 by sergeh

Ajeh:

Check that you are using the current USPS March 7, 2014 K3 version ...
http://www.zen-cart.com/showthread.php?212467-USPS-RateV4-Intl-RateV2-Mar-7-2014-Version-K3-%28First%96Class-changes%29

This is also a good time to sign up to receive emails for the News & Announcement Forum:
http://www.zen-cart.com/forumdisplay.php?1-News-and-Announcements

I was having the same issue with international shipping, so I installed the new version. Then with the new version, it wasn't showing rates for anything. I had to re-install the old usps module. Any ideas what might be wrong?

27 May 2014, 11:50 PM
#4
ajeh avatar

ajeh

Oba-san

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

Post #4 by ajeh

What version Zen Cart are you running?

Do you know if cURL is running on your server?

You can check with:
your_domain.com/extras/curltester.php

What version php?

When you were trying to use the USPS March 7, 2014 K3 version, were there any debug logs in the /logs (this will be /cache directory in older versions of Zen Cart)?

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!

28 May 2014, 4:05 PM
#5
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0

Post #5 by sergeh

Ajeh:

What version Zen Cart are you running?

Do you know if cURL is running on your server?

You can check with:
your_domain.com/extras/curltester.php

What version php?

When you were trying to use the USPS March 7, 2014 K3 version, were there any debug logs in the /logs (this will be /cache directory in older versions of Zen Cart)?

Running v1.3.9h

Not sure about cURL..when I go to that url, I get a page not found, so I'm assuming not.

php version 4.4.7

Didn't see any debug logs

28 May 2014, 4:23 PM
#6
ajeh avatar

ajeh

Oba-san

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

Post #6 by ajeh

Do you have on your site the directory and file:
your_domain.com/extras/curltester.php

If not, look at a clean v139h and load that directory to your server so that you can run the curltester.php file ...

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!

28 May 2014, 5:20 PM
#7
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0

Post #7 by sergeh

Ajeh:

Do you have on your site the directory and file:
your_domain.com/extras/curltester.php

If not, look at a clean v139h and load that directory to your server so that you can run the curltester.php file ...

The directory wasn't there, so I downloaded a clean copy of v139h and uploaded the /extras directory, now what?

28 May 2014, 5:25 PM
#8
ajeh avatar

ajeh

Oba-san

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

Post #8 by ajeh

Now run from your site:
your_domain.com/extras/curltester.php

What does the curltester say?

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!

28 May 2014, 5:35 PM
#9
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0
28 May 2014, 5:56 PM
#10
ajeh avatar

ajeh

Oba-san

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

Post #10 by ajeh

That sounds like cURL is working properly ...

Next, go to the Modules ... Shipping ... and do a REMOVE on your current USPS shipping module ...

Load the new USPS March 7, 2014 K3 version and configure it ... also, down at the bottom, turn the Debug to LOGS ...

Now try to get a quote on Shipping Estimator and on checkout_shipping ...

Look in the directory /cache (this would be /logs on newer versions of Zen Cart) and find the log files that are named similar to:
SHIP_usps_Debug_05282014135450_US_44026_0lb_2oz.log

and Zip them and add them to your next post 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!

28 May 2014, 6:22 PM
#11
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0

Post #11 by sergeh

Hmmm, not seeing any log with that name..this is what i see: http://screencast.com/t/Hb3yEhSrzU

28 May 2014, 6:28 PM
#12
ajeh avatar

ajeh

Oba-san

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

Post #12 by ajeh

You should find on your site the directories:
/your_admin_dir
/cache
/download
/extras
/images
/includes
/pub
etc. etc. etc

The USPS will generate the shipping debug logs and save them in the /cache directory ...

NOTE: make sure that the /cache directory permissions are set to make it writable ...

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!

28 May 2014, 6:36 PM
#13
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Location:
Montrose, California, United States
Posts:
14
Plugin Contributions:
0

Post #13 by sergeh

I'm not seeing the /cache folder, or some of the other ones..is there anyway I can PM you ftp info so you can check it?