Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Unable to use USPS shipping module

Unable to use USPS shipping module

Views: 2,008

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

Unable to use USPS shipping module

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

Re: Unable to use USPS shipping module

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

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

Re: Unable to use USPS shipping module

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

Re: Unable to use USPS shipping module

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)?

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

Re: Unable to use USPS shipping module

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

Re: Unable to use USPS shipping module

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

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

Re: Unable to use USPS shipping module

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

Re: Unable to use USPS shipping module

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

What does the curltester say?

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

Re: Unable to use USPS shipping module

28 May 2014, 5:56 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Unable to use USPS shipping module

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

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

Re: Unable to use USPS shipping module

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

Re: Unable to use USPS shipping module

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

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

Re: Unable to use USPS shipping module

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?