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

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

Locked

Views: 63,770

Results 41 to 60 of 238
This thread is locked. New replies are disabled.
3 Jan 2011, 10:16 PM
#41
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

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

Thanks Linda! Workin' Great so far on 1.3.8>upgrades>1.3.9h

John

4 Jan 2011, 12:21 AM
#42
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...

SeanLoberg:

Also, if, after installing Ajah's quick fix, international is showing up, but domestic is not, change, on line 193 the zen_round from 3 to 2 ...
Line 193 old: $shipping_ounces = zen_round($shipping_ounces, 3);

Line 193 new: $shipping_ounces = zen_round($shipping_ounces, 2);

for some reason, USPS can't handle 3 digits!

P.S. All credit to Ajeh, who found this for me months ago! Thanks again for the quick action Ajeh!!!

Did you find you needed the 2 digit for domestic or international?

What are your settings in the Shipping/Packaging?

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!

4 Jan 2011, 1:18 AM
#43
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

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

thank you Ajeh for the super fast response. In case anyone wants to know if this works with rather old versions of zencart, I run 1.3.0.2 and it appears to have taken just fine.

I should also note that the weights I have set in my shop are 3 decimal points and there were no issues returning a postage estimate - international nor domestic.

Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2

4 Jan 2011, 1:39 AM
#44
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...

Usually, I have only seen that issue on certain cases of Tare Settings ... but I am looking for a better pattern ...

I hate to default it to 2 digit unless it is absolutely necessary as that causes issues for folks with very low weight products ...

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!

4 Jan 2011, 11:06 AM
#45
photoship_one avatar

photoship_one

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

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

I too had customers telling me they could not place orders. This started a day or two ago. I did some Googling and came up to this thread.

Applied the above fix and it works great! I have 1.3.8a

Love this site!

4 Jan 2011, 3:21 PM
#46
seanloberg avatar

seanloberg

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

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

Ajeh:

Usually, I have only seen that issue on certain cases of Tare Settings ... but I am looking for a better pattern ...

I hate to default it to 2 digit unless it is absolutely necessary as that causes issues for folks with very low weight products ...

Ajeh:

Did you find you needed the 2 digit for domestic or international?

What are your settings in the Shipping/Packaging?

Good morning Ajeh! I had it **backwards **in my previous post (sorry everyone)... if International is not showing up, round down to 2 digits! I have very low weight products ...

Running 1.3.9e ... here are my USPS settings:

Enable USPS Shipping = True
Which server to use = production
Handling Fee = 0
Handling Per Order or Per Box = Order
Tax Class = Non-Taxable Goods
Tax Basis = Shipping
Shipping Zone = --none--
Sort Order = 30
All Packages are Machinable = False
USPS Options = Display weight, Display transit time
Domestic Shipping Methods = EXPRESS, PRIORITY
International Shipping Methods = Express Mail Int, Priority Mail International, First Class Mail Int Package
Debug Mode = Off

Here is my tare info:

Enter the Maximum Package Weight you will ship 50
Package Tare Small to Medium - added percentage:weight 15:0
Larger packages - added packaging percentage:weight 20:0
Display Number of Boxes and Weight Status 0
Order Free Shipping 0 Weight Status 1
Shipping Estimator Display Settings for Shopping Cart 2

4 Jan 2011, 4:11 PM
#47
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...

Yes, based on your Product Weights and your specific Tare Rates, the International can fail on certain quantities, unless you change the rounding to 2 ...

Why the International will not accept the same values as the National is a USPS mystery in their ... umm ... infinite wisdom ... :lookaroun

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!

4 Jan 2011, 6:10 PM
#48
riosouza avatar

riosouza

New Zenner

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

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

Hi Linda,
You're awesome! :clap:
My old USPS php had a little customization to limit the First Class weight to 2.2 pounds. If you can help me to add this restriction to the 2011 USPS php I will appreciate it.
Here is my old customization for my 1.37 cart

 $methods[] = array('id' => $type,
          'title' => ((isset($this->types[$type])) ? $this->types[$type] : $type),
          'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
          */
	          if ($type == 'First-Class Mail International Package' && $shipping_weight >= 2.2) {
            // skip First Class Mail Int Package on >= 2.2
          } else {
          $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
4 Jan 2011, 8:42 PM
#49
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...

Try using:
First-Class Mail International Package**

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!

4 Jan 2011, 10:40 PM
#50
mumzie avatar

mumzie

Inactive

Join Date:
Feb 2007
Posts:
211
Plugin Contributions:
0

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

Thank you - again - I guess we should all just make a yearly appt. with Ajeh and the USPS module?
Grrrr,,,,

4 Jan 2011, 11:27 PM
#51
sadie avatar

sadie

Zen Follower

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

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

The fix works just fine, but I'm having a very small problem. Now, the shipping estimator is highlighting the lowest UPS price, and not the lowest overall shipping price, which would be the USPS price.

5 Jan 2011, 1:38 AM
#52
nohart avatar

nohart

Zen Follower

Join Date:
Apr 2010
Posts:
133
Plugin Contributions:
0

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

Thank you for your hard work and updating this module! I totally appreciate it :-)

5 Jan 2011, 3:27 AM
#53
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...

sadie:

The fix works just fine, but I'm having a very small problem. Now, the shipping estimator is highlighting the lowest UPS price, and not the lowest overall shipping price, which would be the USPS price.

Could you check that you are using the current release of the USPS Jan 2, 2011 C code?

And, that you did an REMOVE, INSTALL and reconfigure of the settings ...

Then, if this is still happening ... could you provide an exact click for click of how to reproduce this problem as I cannot get the shipping estimator to not show the lowest price whether logged in or not logged in and regardless of what I select in the checkout the shipping estimator will still highlight the cheapest cost ...

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!

5 Jan 2011, 4:44 AM
#54
riosouza avatar

riosouza

New Zenner

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

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

sadie:

The fix works just fine, but I'm having a very small problem. Now, the shipping estimator is highlighting the lowest UPS price, and not the lowest overall shipping price, which would be the USPS price.

Same problem here Linda. :huh:

5 Jan 2011, 5:10 AM
#55
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...

What version of Zen Cart are you using?

Clean install or an Upgrade?

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!

5 Jan 2011, 6:11 AM
#56
sadie avatar

sadie

Zen Follower

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

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

Ajeh:

Could you check that you are using the current release of the USPS Jan 2, 2011 C code?

And, that you did an REMOVE, INSTALL and reconfigure of the settings ...

Then, if this is still happening ... could you provide an exact click for click of how to reproduce this problem as I cannot get the shipping estimator to not show the lowest price whether logged in or not logged in and regardless of what I select in the checkout the shipping estimator will still highlight the cheapest cost ...

This is so strange, earlier today, right after I made the changes to the USPS update C, my shipping estimator was doing what I explained. Now, after being off line for several hours (and making no changes to my files), I checked it again, and it is working fine, and is choosing the lowest shipping. I don't understand it, but everything is fine now.

5 Jan 2011, 9:02 AM
#57
portlandpiper avatar

portlandpiper

New Zenner

Join Date:
Sep 2010
Posts:
8
Plugin Contributions:
0

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

Round down to 2 digits is not working for everything yet.
I am not getting any international options in the shipping estimator for Nova Scotia or Japan.
Stock 1.3.9h + USPS round to 2 digits.

5 Jan 2011, 2:12 PM
#58
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...

I cannot reproduce the problem, when I change the code:

    $shipping_ounces = zen_round($shipping_ounces, 3);

to read:

    $shipping_ounces = zen_round($shipping_ounces, 2);

What Ship From and Ship To are you using?

What weight are you shipping?

What are your settings in the Shipping/Packaging?

What are your settings in the USPS shipping module?

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!

5 Jan 2011, 3:51 PM
#59
commdiver avatar

commdiver

Zen Follower

Join Date:
May 2010
Posts:
222
Plugin Contributions:
0

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

This worked. Thank you!

Is there a way to remove the two astericks from First Class International? This is how it appears on my website (without the quotations): "Priority Mail International**".

5 Jan 2011, 5:11 PM
#60
exittheapple avatar

exittheapple

New Zenner

Join Date:
Nov 2005
Posts:
53
Plugin Contributions:
0

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

hi there - i am running 1.3.8a and use USPS exclusively. got two emails that international customers are getting no shipping choices, so i attempted to install this module.

copied usps.php, uploaded this new file. when i refreshed my modules admin screen, there was no 'USPS' module listed, and the right-hand column that normally houses the 'install' button was entirely missing!

i quickly deleted the new file and renamed the copy so at least i can continue to receive domestic orders, but would love to know what's going on with my shipping module!!

upgrade, (not clean install) all security patches installed as far as i can tell. URL: http://oyinhandmade.com

please help!!

thanks so much :)

zencart installation is at http://oyinhandmade.com/shop