Forums / Bug Reports / [Fixed - See post 26] USPS International shipping problem...

[Fixed - See post 26] USPS International shipping problem...

Locked

Views: 63,749

Results 1 to 20 of 238
This thread is locked. New replies are disabled.
2 Jan 2011, 5:38 PM
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

[Fixed - See post 26] USPS International shipping problem...

SEE JAN 2011 FIX HERE: http://www.zen-cart.com/forum/showpost.php?p=978059&postcount=26

I have been searching around for the past three hours trying all kinds of different things but I don't seem to be able to find the answer...

My shipping estimator, dummy orders and actual customer orders all work fine for U.S. orders, as did my international orders up until last night.

When trying to use the shipping calculator or place an actual order with international shipping information (it makes no difference what country I tried multiple) I was getting this message...

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

So, I checked out all my settings all looks good, nothing has changed and I haven't updated in quite some time.

I tried uninstalling and reinstalling the usps module and I now get this message when trying international transactions...

"Shipping quotes are based on the address information you selected: Canada" (just used Canada for example)

Which looks good but unfortunately the "Available shipping methods" and "Rates" sections are blank.

I called USPS to make sure my permissions are proper and they assure me they are. They also insist this has nothing to do with last nights update.

Here is some info:

https://www.doooomed.com
version: 1.3.8a
Shipping from Mass
Inside US is fine
Any foreign not functional

Any help is greatly appreciated!

2 Jan 2011, 5:43 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

Could you check that from the Security Patches and Updates that you have the current USPS shipping module?

This is also a good time to ensure that you have all of the Known Bug Fixes:
http://www.zen-cart.com/forum/showthread.php?t=82619

NOTE: All of these and more are in the current version of Zen Cart from our Home page ...

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!

2 Jan 2011, 5:50 PM
#3
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

As of today I'm not getting any International Shipping rates returned either.

Everything worked fine until the year changed over.

I'm running the 1.39h

Ed

2 Jan 2011, 6:10 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

You are correct ... USPS has decided to make our lives fun one more time ...

Give me a few to re-write the module ...

Moving to Bug Reports ...

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!

2 Jan 2011, 6:19 PM
#5
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: [Fixed - See post 26] USPS International shipping problem...

Having same issue.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.11 | MariaDB 10.11.14

2 Jan 2011, 9:46 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

See if this works for you for the January 2, 2011 USPS code changes ...

I will make a more formal release when this is working for everyone ...

DOES NOT WORK ... will repost when it does
USPS 01-02-2011 A

Get current release - USPS January 2, 2011 C - below from post #26

NOTE: as of January 22, 2012
USPS has been updated for the January 22, 2012 and is in the Free Software Add ons at:
http://www.zen-cart.com/showthread.php?191406-USPS-January-22-2012

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!

2 Jan 2011, 9:47 PM
#7
rwerksman avatar

rwerksman

New Zenner

Join Date:
Sep 2007
Posts:
23
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Ajeh:

See if this works for you for the January 2, 2011 USPS code changes ...

I will make a more formal release when this is working for everyone ...
Nevermind :)

2 Jan 2011, 9:55 PM
#8
rwerksman avatar

rwerksman

New Zenner

Join Date:
Sep 2007
Posts:
23
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Ajeh:

See if this works for you for the January 2, 2011 USPS code changes ...

I will make a more formal release when this is working for everyone ...
Confirmed - working again for me. Removed, installed, put in all of the same settings and all is well in the world again.

Thanks Linda!! :D

2 Jan 2011, 10:05 PM
#9
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Working but with one major issue....
After reinstall of new module and putting settings back to the way they were....

In my options I have the following selected...
Priority Mail International
First Class Mail Int Package

However.... The only option I receive for any weight package is Priority Mail international. Ive tested this with Japan, Canada, and Belgium shipping addresses.

2 Jan 2011, 10:28 PM
#10
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

I too am not getting the First Class International option. All others are coming across.

  • Jeff
2 Jan 2011, 11:21 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

This includes the missing methods

**NOTE: **be sure to do a REMOVE, INSTALL and reconfigure after you load it to your server ...

DOES NOT WORK ... will repost when it does
USPS 01-02-2011 B

Get current release - USPS January 2, 2011 C - below from post #26
http://www.zen-cart.com/forum/showpost.php?p=978059&postcount=26

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!

2 Jan 2011, 11:26 PM
#12
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Great thanks for the quick update. Everything seems to be working correctly now.

2 Jan 2011, 11:32 PM
#13
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

All is well here, too.

Many thanks, Ajeh!

2 Jan 2011, 11:49 PM
#14
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

I too am having the problems with the usps int not showing prices. I have a modified usps.php file which I changed with the updated file provided above but am still having problems after uninstalling and reinstalling the updated module. In the module config page, it looks good and updated with all the new shipping options, and have put in all the same info as I'd previously had but still no luck as the usps int options don't show up.

I've modified the original usps file around line 247 to only show certain shipping methods based on the total order weight. I've copied the shipping method name between the ' ' from earlier in the php file (lines 116-137) as I'd done before.

Attached is a zip containing my updated and original usps.php files.

Please help as I have customers trying to buy stuff and they're unable to right now. Thanks!

2 Jan 2011, 11:55 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

Please get the B version in post #11 and be sure to do a REMOVE, INSTALL and reconfigure after you load it to your 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!

3 Jan 2011, 12:00 AM
#16
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Just did that after I saw you posted it, still no luck. Yes I did the remove, install, recofig steps. Here is the file as I have it now (attached)

3 Jan 2011, 12:00 AM
#17
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

PeauProductions ... you are testing against the $type before it is cleaned ...

If you put an:
echo $type . '<br>';

right after the $type is cleaned you can see what you are looking for to use in your case statements ...

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!

3 Jan 2011, 12:13 AM
#18
peauproductions avatar

peauproductions

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

I am not familiar with the term "clean" in the context of this code (I know it has to do with getting the character code out of the ' ' naming, but don't know what function is doing the "cleaning"). Also I forget how to see the output of the echo function. Do I run it through a program like dreamweaver or does it output on my site somewhere. Thanks for you quick responses.

3 Jan 2011, 12:14 AM
#19
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: [Fixed - See post 26] USPS International shipping problem...

Ajeh - Thanks for the quick response. The second version you updated is verified to fix the First Class International issue on the latest version of ZenCart.

  • Jeff
3 Jan 2011, 12:40 AM
#20
ajeh avatar

ajeh

Oba-san

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

Re: [Fixed - See post 26] USPS International shipping problem...

PeauProductions:

I am not familiar with the term "clean" in the context of this code (I know it has to do with getting the character code out of the ' ' naming, but don't know what function is doing the "cleaning"). Also I forget how to see the output of the echo function. Do I run it through a program like dreamweaver or does it output on my site somewhere. Thanks for you quick responses.

// fix new trademark and reg
$type = str_replace('&lt;sup&gt;&amp;reg;&lt;/sup&gt;', '<sup>®</sup>', $type);
$type = str_replace('&lt;sup&gt;&amp;trade;&lt;/sup&gt;', '<sup>™</sup>', $type);

The $type is being cleaned ... you need to test for the cleaned $type not the $type with all the junk in it ...

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!