Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / USPS and UPS shipping module update

USPS and UPS shipping module update

Locked

Views: 26,933

Results 61 to 80 of 130
This thread is locked. New replies are disabled.
14 Jan 2010, 4:10 PM
#61
ajeh avatar

ajeh

Oba-san

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

USPS and UPS shipping module update

When you are testing on USPS site, are you testing with 6.08 ounces or .38 pounds?

14 Jan 2010, 4:41 PM
#62
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: USPS and UPS shipping module update

mmmh, good question, I'm actually placing a 0 on the lbs box and 6 on the oz box

14 Jan 2010, 4:48 PM
#63
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

Your product is .38 lbs which is 6.08 ounces ...

So you need to test against the same weight as your product ... this comes out as:

Domestic Services
available for a Package of 0 lbs 6.08 oz
mailed from MACOMB MI 48042 to CONYERS GA 30094 on January 14

Express Mail® [More info about Express Mail®]
Fri, Jan 15 by 3 PM $19.35 $18.37
Express Mail® Hold For Pickup [More info about Express Mail® Hold For Pickup]
Fri, Jan 15 by 3 PM $19.35 $18.37
Priority Mail® [More info about Priority Mail®]
2 days $5.05 $4.95
Priority Mail® Large Flat Rate Box [More info about Priority Mail® Large Flat Rate Box]
USPS Supplied Large Box: 12" x 12" x 6"
2 days $14.50 $13.95
Priority Mail® Medium Flat Rate Box [More info about Priority Mail® Medium Flat Rate Box]
USPS Supplied Medium Box:
13-5/8" x 11-7/8" x 3-3/8" or 11" x 8-1/2" x 5-1/2"
2 days $10.70 $10.20
Priority Mail® Small Flat Rate Box [More info about Priority Mail® Small Flat Rate Box]
USPS Supplied Small Box: 8-5/8" x 5-3/8" x 1-5/8"
2 days $4.95 $4.85
Parcel Post® [More info about Parcel Post®]
5 days $4.90
Media Mail® [More info about Media Mail®]
Restrictions Apply
5 days $2.38
First-Class Mail® Package [More info about First-Class Mail® Package]
3 days $2.24

14 Jan 2010, 5:22 PM
#64
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: USPS and UPS shipping module update

Thank you Linda, that sure makes sense. Everything is working now. :hug:

14 Jan 2010, 6:55 PM
#65
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

thud ... :lamo:

Glad to hear that all is right in the world once more ... :smile:

14 Jan 2010, 11:56 PM
#66
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: USPS and UPS shipping module update

I know I'm annoying, but by asking is how we learn, how come with zencart there is no way to offer flat rate shipping in the US and only for international shipments?

15 Jan 2010, 12:02 AM
#67
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

how come with zencart there is no way to offer flat rate shipping in the US and only for international shipments?

Can you explain what exactly you need or are asking here? I am not getting it ... :unsure:

15 Jan 2010, 12:13 AM
#68
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: USPS and UPS shipping module update

ok, if I go to the usps.com site to get a quote (6oz package or envelope, from 48042 to 30094) I have a few more options to chose from, Priority Flat Rate Envelopes, Priority Flat Rate Boxes, for example and the Flat Rates all have different quotes compared to plain Priority Mail boxes, which usps asumes you are using your own boxes rather than their flat rates. My question, how come these options can't be offered with the usps shipping module for zencart?

If I get a shipping estimate on my store right now, I only get Parcel, Priority (which is higher than Priority Flat Rate), Express (not Express Flat Rate) and First Class. Just thinking out loud in ways to offer more shipping choices using the same carrier.

15 Jan 2010, 3:23 PM
#69
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

This is where you need to customize your USPS shipping module ...

For Priority for example, you will see the code:

          //PRIORITY MAIL OPTIONS
          if ($key == 'PRIORITY'){
            $this->container = ''; // Blank, Flate Rate Envelope, or Flat Rate Box 
          }

There are actually a few others you can use:

          //PRIORITY MAIL OPTIONS
          if ($key == 'PRIORITY'){
            $this->container = ''; // Blank, Flate Rate Envelope, or Flat Rate Box // Sm Flat Rate Box, Md Flat Rate Box and Lg Flat Rate Box
          }

And these will get results such as:

BLANK:
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $4.90

Flat Rate Box:
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $10.70

Flat Rate Envelope:
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $4.90

Sm Flat Rate Box
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $4.95

Md Flat Rate Box
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $10.70

Lg Flat Rate Box
United States Postal Service (1 x 0.38lbs) (Priority Mail (2 - 3 days)) $14.50

But you need to customize it for your shop ...

15 Jan 2010, 8:21 PM
#70
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: USPS and UPS shipping module update

That's it? how about the shipping time and name of the service? if I change that everything will appear as Priority Mail. :huh:

15 Jan 2010, 10:29 PM
#71
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

The Various methods allow for 1 method to be used ... if you want more details on the types you'd have to customize more ...

I have not played with the settings recently but for the most part it is the size not the method ...

17 Jan 2010, 7:57 PM
#72
bjjohns avatar

bjjohns

New Zenner

Join Date:
Nov 2009
Location:
Ohio
Posts:
11
Plugin Contributions:
0

Re: USPS and UPS shipping module update

Ajeh:

This is where you need to customize your USPS shipping module ...

<snipped>

But you need to customize it for your shop ...

A small minor change to the code is helpful here to document the options.

line 394 says

 //For Options list, go to page 6 of document: http://www.usps.com/webtools/_pdf/Rate-Calculators-v1-2.pdf

and it should now be

 //For Options list, go to pages 8 to 11 of document: http://www.usps.com/webtools/_pdf/Rate-Calculators-v2-3.pdf
22 Jan 2010, 11:51 PM
#73
hermes369 avatar

hermes369

New Zenner

Join Date:
Dec 2006
Location:
Augusta, GA
Posts:
74
Plugin Contributions:
0

Re: USPS and UPS shipping module update

Apparently, there are and have been issues with the usps's production server. They are aware of the issue, they have no estimate of when it will be fixed. This problem has been in effect for the past two days; you'd almost forget that the USPS is privatized.

24 Jan 2010, 4:08 AM
#74
hermes369 avatar

hermes369

New Zenner

Join Date:
Dec 2006
Location:
Augusta, GA
Posts:
74
Plugin Contributions:
0

Re: USPS and UPS shipping module update

Is anyone else having this trouble, or is it just me? I'm losing sales because of it and need to know before I express my growing displeasure with USPS.

27 Jan 2010, 7:23 PM
#75
jeff_mash avatar

jeff_mash

Totally Zenned

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

Re: USPS and UPS shipping module update

Linda - I too am getting the following error when this international order is being placed:

-2147218052 - The ounces field must be less than 5 digits

On the shopping cart page near the top, it says, "Total Items: 30 Weight: 5.738lbs Amount: $211.37"

Could their be a problem with the weight showing three digits after the period?

I have the latest and greatest USPS.php update and the latest zencart.

27 Jan 2010, 7:31 PM
#76
jeff_mash avatar

jeff_mash

Totally Zenned

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

Re: USPS and UPS shipping module update

I think it definitely has something to do with the weight. A few of the items in the shopping cart had a weight of more than two digits, like "0.063" instead of just "0.06".

When I went through each item in the shopping cart and made sure that the weight was no more than two decimal places long, it seemed to work.

Is there something in the code or ZC configuration panel that will allow for three digit decimal places in the weight so that it won't interfere with the USPS module?

27 Jan 2010, 7:36 PM
#77
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

Search for this code:

    $shipping_ounces = (16 * ($usps_shipping_weight - floor($usps_shipping_weight)));
    // usps currently cannot handle more than 5 digits on international
    $shipping_ounces = zen_round($shipping_ounces, 3);

And change the 3 to a 2 ...

For unknown reasons, "sometimes" USPS is saying 5 digits is:
1.2345
12.345

and other times:
1.234
12.34

It is not being very consistent in how it counts ... :rolleyes:

7 Feb 2010, 5:34 PM
#78
calouroj avatar

calouroj

New Zenner

Join Date:
May 2009
Posts:
25
Plugin Contributions:
0

Re: USPS and UPS shipping module update

Hello,

I upgraded to the latest USPS update by following the instructions. But when I go to the shipping modules tab, under "Sort Order" the indicator is yellow (it's been yellow for 2 weeks now). I believe it was green before I upgraded. I contacted USPS, they stated it's a zen cart issue, they are showing i'm in production status and to contact Zen Cart.

When I go on the live website and try to check out it does not work.

Any help would be greatly appreciated.

Thank you,

7 Feb 2010, 7:11 PM
#79
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

IF you have set a shipping zone on this module then you will also see the yellow icon to indicate that it has been filtered to only be used for some shipping addresses ...

7 Feb 2010, 7:15 PM
#80
ajeh avatar

ajeh

Oba-san

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

Re: USPS and UPS shipping module update

One other check that you can do is in the Tools ... Developers Tool Kit ... in the bottom input box enter:
usps.php

and select Catalog then search ...

What is the version id line that you are showing?

Did you also do:

1 Save current settings

2 REMOVE USPS

3 INSTALL USPS

4 Reconfigure USPS

to make sure that all of the current settings are being used?

What settings are you using in the USPS shipping module?

What settings are you using in the Shipping/Packaging configuration?

What is your Ship From? What is your Ship To? What is the weight you are testing?