Forums / Built-in Shipping and Payment Modules / USPS mod not displaying anything for international for certain weights (latest update

USPS mod not displaying anything for international for certain weights (latest update

Locked

Views: 1,295

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
19 Jan 2010, 7:27 AM
#1
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

USPS mod not displaying anything for international for certain weights (latest update

I have applied the latest update USPS_UPDATE_2010_0104_B.zip, but I'm having an issue.

The mod is not displaying anything for certain weights for international shipping. I'm not sure of the exact weights when this happens, but this is what I get with testing with items in my shop

Displays rates for up to Weight: 0.6222lbs
Nothing for Weight: 0.6674lbs - Weight: 0.9838lbs

Displays rates again for Weight: 1.029lbs - 1.6166lbs
Nothing for Weight: 1.6618lbs - 1.9782lbs

Displays rates again for Weight: 2.0234lbs - 2.611lbs
Nothing for Weight: 2.6562lbs - 2.9726lbs

and so on...
See the pattern?

Can anyone advise of possible cause and solution?

Thanks.

19 Jan 2010, 4:36 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS mod not displaying anything for international for certain weights (latest update

USPS has a new rule about the ounces must be only 5 digits ...

For some reason, on some quotes it is not accepting the 5 digits and is responding as if it is 4 digits only ...

If you could edit the file:
/includes/modules/shipping/usps.php

and change the line around 160 from:

    $shipping_ounces = zen_round($shipping_ounces, 3);

to read:

$shipping_ounces = zen_round($shipping_ounces, 2);

and let us know if this works for you ...

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!

19 Jan 2010, 5:16 PM
#3
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: USPS mod not displaying anything for international for certain weights (latest update

Yes, that seems to fix the problem.

Thank you so much.

26 Jul 2010, 11:55 AM
#4
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: USPS mod not displaying anything for international for certain weights (latest update

I pretty much assumed that change had been incorporated into the module itself but ran into this problem this week on a site with 1.3.9d. If I make this change to the file and use it in my default install package, I also assume that this will not cause problems on my sites. But assumptions , obviously, can be wrong.

Was this change left out of the newest version on purpose because of the ramifications of what happens in the future with USPS?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

26 Jul 2010, 2:17 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: USPS mod not displaying anything for international for certain weights (latest update

What are your settings in the Shipping/Packaging?

What is your weight on the Order that you had this problem with?

What are your Ship From and Ship To addresses?

What are the settings in USPS shipping module?

This was only happening on some sites based on the weights that they use on products and tare settings ... USPS 5 digits is actually sometimes 5 digits and sometimes 4 digits ...

If I can find enough patterns to this where USPS cannot count right I might be able to build in a code change for managing this, since USPS does not appear to manage it the same way as they say they do ... :unsure:

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!

26 Jul 2010, 2:27 PM
#6
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: USPS mod not displaying anything for international for certain weights (latest update

zen cart version 1.3.9d
shipping - tare weights are different from the default so maybe that's it?

Postal Code 22903 Info
Enter the Maximum Package Weight you will ship 50 Info
Package Tare Small to Medium - added percentage:weight 5:.5 Info
Larger packages - added packaging percentage:weight 5:1 Info
Display Number of Boxes and Weight Status 3 Info
Order Free Shipping 0 Weight Status 0 Info
Shipping Estimator Display Settings for Shopping Cart 1 Info
Display Order Comments on Admin Invoice 0 Info
Display Order Comments on Admin Packing Slip 0

USPS - this is only being used for international priority mail

This particular customer is from Greece I don't know about from and to shipping addresses as there's been no order generated though the cart owner might know.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

26 Jul 2010, 2:45 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: USPS mod not displaying anything for international for certain weights (latest update

On an order that is .0625 lbs, I get for Athens Greece:

United States Postal Service (1 x 0.57lbs) (Global Express Guaranteed (GXG) (1 - 3 business days)) $68.75
United States Postal Service (1 x 0.57lbs) (Global Express Guaranteed Non-Document Rectangular (1 - 3 business days)) $68.75
United States Postal Service (1 x 0.57lbs) (Global Express Guaranteed Non-Document Non-Rectangular (1 - 3 business days)) $68.75
United States Postal Service (1 x 0.57lbs) (USPS GXG Envelopes (1 - 3 business days)) $68.75
United States Postal Service (1 x 0.57lbs) (Express Mail International (3 - 5 business days)) $33.50
United States Postal Service (1 x 0.57lbs) (Express Mail International Flat Rate Envelope (3 - 5 business days)) $28.95
United States Postal Service (1 x 0.57lbs) (Priority Mail International (6 - 10 business days)) $28.00
United States Postal Service (1 x 0.57lbs) (Priority Mail International Large Flat Rate Box (6 - 10 business days)) $55.95
United States Postal Service (1 x 0.57lbs) (Priority Mail International Medium Flat Rate Box (6 - 10 business days)) $43.45
United States Postal Service (1 x 0.57lbs) (Priority Mail International Small Flat Rate Box (6 - 10 business days)) $13.45
United States Postal Service (1 x 0.57lbs) (Priority Mail International Flat Rate Envelope (6 - 10 business days)) $13.45
United States Postal Service (1 x 0.57lbs) (First-Class Mail International Package (Varies by country)) $9.04
United States Postal Service (1 x 0.57lbs) (First-Class Mail International Large Envelope (Varies by country)) $8.84

For an order that is 1 lb I get:

United States Postal Service (1 x 1.55lbs) (Global Express Guaranteed (GXG) (1 - 3 business days)) $77.50
United States Postal Service (1 x 1.55lbs) (Global Express Guaranteed Non-Document Rectangular (1 - 3 business days)) $77.50
United States Postal Service (1 x 1.55lbs) (Global Express Guaranteed Non-Document Non-Rectangular (1 - 3 business days)) $77.50
United States Postal Service (1 x 1.55lbs) (USPS GXG Envelopes (1 - 3 business days)) $77.50
United States Postal Service (1 x 1.55lbs) (Express Mail International (3 - 5 business days)) $38.00
United States Postal Service (1 x 1.55lbs) (Express Mail International Flat Rate Envelope (3 - 5 business days)) $28.95
United States Postal Service (1 x 1.55lbs) (Priority Mail International (6 - 10 business days)) $31.05
United States Postal Service (1 x 1.55lbs) (Priority Mail International Large Flat Rate Box (6 - 10 business days)) $55.95
United States Postal Service (1 x 1.55lbs) (Priority Mail International Medium Flat Rate Box (6 - 10 business days)) $43.45
United States Postal Service (1 x 1.55lbs) (Priority Mail International Small Flat Rate Box (6 - 10 business days)) $13.45
United States Postal Service (1 x 1.55lbs) (Priority Mail International Flat Rate Envelope (6 - 10 business days)) $13.45
United States Postal Service (1 x 1.55lbs) (First-Class Mail International Package (Varies by country)) $15.92
United States Postal Service (1 x 1.55lbs) (First-Class Mail International Large Envelope (Varies by country)) $15.72

And for an order that is 4lbs I get:

United States Postal Service (1 x 4.70lbs) (Global Express Guaranteed (GXG) (1 - 3 business days)) $103.75
United States Postal Service (1 x 4.70lbs) (Global Express Guaranteed Non-Document Rectangular (1 - 3 business days)) $103.75
United States Postal Service (1 x 4.70lbs) (Global Express Guaranteed Non-Document Non-Rectangular (1 - 3 business days)) $103.75
United States Postal Service (1 x 4.70lbs) (USPS GXG Envelopes (1 - 3 business days)) $103.75
United States Postal Service (1 x 4.70lbs) (Express Mail International (3 - 5 business days)) $51.50
United States Postal Service (1 x 4.70lbs) (Express Mail International Flat Rate Envelope (3 - 5 business days)) $28.95
United States Postal Service (1 x 4.70lbs) (Priority Mail International (6 - 10 business days)) $40.20
United States Postal Service (1 x 4.70lbs) (Priority Mail International Large Flat Rate Box (6 - 10 business days)) $55.95
United States Postal Service (1 x 4.70lbs) (Priority Mail International Medium Flat Rate Box (6 - 10 business days)) $43.45

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!

26 Jul 2010, 2:47 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS mod not displaying anything for international for certain weights (latest update

Could you do a search in the Tools ... Developers Tool Kit ... and tell me the version id that comes up?

And was this an Upgrade or a Clean install?

And if an Upgrade, were the settings saved, then the USPS module REMOVED, INSTALLED and reconfigured? :unsure:

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!

26 Jul 2010, 3:12 PM
#9
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: USPS mod not displaying anything for international for certain weights (latest update

It is an upgraded site. 1.3.9d but with only changed files uploaded on the d version as I started upgrading sites at 1.3.9a! This one went from 1.3.8a to 1.3.9c, I think.

The usps module was originally upgraded when the new file came out in January.

I uploaded the file that comes with the 1.3.9 version and removed and reinstalled it. yesterday I had removed and installed it once before that thinking I must have failed to do it before so it's been removed and installed several times in this process.

I've emailed the cart owner asking for actual weights in that order.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo