Forums / General Questions / usps shipping does not work today Dec 8

usps shipping does not work today Dec 8

Locked

Views: 13,957

Results 21 to 40 of 68
This thread is locked. New replies are disabled.
8 Dec 2008, 7:34 PM
#21
ts232 avatar

ts232

Zen Follower

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

usps shipping does not work today Dec 8

paperthreads:

How do you disable USPS, but still get the cart to charge the correct amount of postage?

no idea... I am just offering free shipping. my product line allows me to slip product in a first class padded envelope for less than $2. I am just absorbing that loss until USPS gets their act together.

international shipping is a bigger problem, but most of our traffic is USA.

--
Author of Stock vs. Sales Report

8 Dec 2008, 7:38 PM
#22
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

I just did table rate shipping for now, it will get me close enough, without costing me too much, or without costing the customer much different.

Hopefully they get it fixed by tonight!

8 Dec 2008, 7:56 PM
#23
whietwidower avatar

whietwidower

New Zenner

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

Re: usps shipping does not work today Dec 8

I watched 4 orders fade away before I decided something wasn't right.
I guess they get a Christmas discount on shipping today.

I hope no one orders a gaming chair :(

Ken

8 Dec 2008, 8:15 PM
#24
ts232 avatar

ts232

Zen Follower

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

Re: usps shipping does not work today Dec 8

has anyone figured out a good way to print shipping labels for existing orders while the USPS site is down? I've got a backlog of orders that I need to get out of here, preferably without a trip to the post office to stand in line... :shocking:

--
Author of Stock vs. Sales Report

8 Dec 2008, 8:17 PM
#25
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

Folks,

We are sorry that USPS is having a server problem, but there is nothing we can do to prevent or help that. The best suggestion is that you have a backup shipping plan, e.g. a module that does NOT rely on another live server to operate. Zen Cart has several options, Flat Rate, Per Item, Table Rates and Per Weight Unit. Get the best options set up and ready to turn on if needed, especially since USPS has been know to go down at critical times.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Dec 2008, 8:27 PM
#26
spiderr avatar

spiderr

New Zenner

Join Date:
Dec 2004
Location:
North Carolina, USA
Posts:
12
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

Here is a quick hack that returns a fixed PRIORITY shipping fee for those who are brave enough to tweak the source. In includes/modules/shipping/usps.php ...

...
// EOF: UPS USPS

        $http->Disconnect();
    } else {
        return -1;    
    }               

// [[[ START HACK: No reponse from broken USPS servers, let's returned a fixed price quote so things at least work for today
if( empty( $body ) ) {
$rates[] = array( 'PRIORITY' => 5.25 );
return( $rates );
}
// ]]] END HACK

    $response = array();
    while (true) { 
        if ($start = strpos($body, '<Package ID=')) {

...

Edit to your personal preference ...

8 Dec 2008, 8:34 PM
#27
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: usps shipping does not work today Dec 8

Clever, but part of problem is sites hang waiting for a response from USPS (empty or not).

Especially true if shipping estimator is shown on page instead of pop-up.

8 Dec 2008, 8:42 PM
#28
spiderr avatar

spiderr

New Zenner

Join Date:
Dec 2004
Location:
North Carolina, USA
Posts:
12
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

kiddo:

Clever, but part of problem is sites hang waiting for a response from USPS (empty or not).

Especially true if shipping estimator is shown on page instead of pop-up.

then simply move the hack lines up to just before:

$http = new httpClient(); 
$http->timeout = 5; 
if ($http->Connect($usps_server, 80)) {
  $http->addHeader('Host', $usps_server);

However, the hack I posted will automatically stop hacking once the shippingapis.com server starts returning data again. Your choice which way you want to play. This is a WHOLE lot faster than adding a bunch of flat rate shipping options, especially if you have lots of other processes wired to USPS ship methods.

8 Dec 2008, 9:46 PM
#29
lurkerfilms avatar

lurkerfilms

New Zenner

Join Date:
Aug 2005
Posts:
20
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

Very odd. I am able to use Endicia (Mac postage application) to get quotes and print postage (this is what I use with integration from zencart to print postage).

Is it possible that the mail server address has changes?

8 Dec 2008, 9:50 PM
#30
anita avatar

anita

Zen Follower

Join Date:
Feb 2006
Posts:
124
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

I just printed 5 USPS labels through Paypal. So at least that works.

8 Dec 2008, 9:50 PM
#31
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

I print my postage with shipworks (an amazing store mgt program-- check it out asap. Shipworks means the end of cut/paste and customs forms manual entry)

Shipworks, endicia, stamps etc are all working but they likely use a different server for printing postage rather than the server for rates.

Tom

8 Dec 2008, 9:50 PM
#32
spiderr avatar

spiderr

New Zenner

Join Date:
Dec 2004
Location:
North Carolina, USA
Posts:
12
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

Change in plan now that USPS is now returning an Error 500 like " <HEAD><TITLE>HTTP Error 500</TITLE></HEAD><BODY><H1>SERVER ERROR</H1>The server encountered an internal error or misconfiguration and was unable to complete your request.</B</body></html>"

moved to parse response code block here:

    if ($order->delivery['country']['id'] == SHIPPING_ORIGIN_COUNTRY) {

..snip..
case 'FIRST CLASS': $time = '2 - 5 ' . MODULE_SHIPPING_USPS_TEXT_DAYS;
break;
default: $time = '';
break;
}
if ($time != '') $transittime[$service] = ' (' . $time . ')';
}
// EOF: UPS USPS
}
}
// [[[ START HACK: No reponse from broken USPS servers, let's returned a fixed price quote so things at least work for today
if( empty( $rates ) ) {
$rates[] = array( 'PRIORITY' => 6.25 );
return( $rates );
}
// ]]] END HACK

} else {
if (ereg('<Error>', $response[0])) {
...snip...

8 Dec 2008, 10:01 PM
#33
threddies_com avatar

threddies_com

New Zenner

Join Date:
May 2007
Posts:
28
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

probably a stupid question, but does anyone know of an easy way to check for when it is fixed, rather than re-enabling the module?

we're offering flat-rate shipping until the USPS straightens out their issues, which is fine, but would love to get rate calc back up and running ASAP obviously...

i appreciate any input!

8 Dec 2008, 10:06 PM
#34
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: usps shipping does not work today Dec 8

No idea, but I'm keeping an eye on this thread. maybe someone will say.

8 Dec 2008, 10:13 PM
#35
lurkerfilms avatar

lurkerfilms

New Zenner

Join Date:
Aug 2005
Posts:
20
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

tomarriola:

Shipworks, endicia, stamps etc are all working but they likely use a different server for printing postage rather than the server for rates.

Tom

Endicia is getting quotes as well as actually printing postage. This is why I am wondering if the USPS code in zencart is pointing to an old server url.

8 Dec 2008, 10:14 PM
#36
swedub avatar

swedub

New Zenner

Join Date:
Dec 2008
Posts:
1
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

threddies.com:

probably a stupid question, but does anyone know of an easy way to check for when it is fixed, rather than re-enabling the module?

we're offering flat-rate shipping until the USPS straightens out their issues, which is fine, but would love to get rate calc back up and running ASAP obviously...

i appreciate any input!

As mentioned on the first page of comments you can try to ping the USPS API server ...

ping production.shippingapis.com

In Windows click 'Start' then click 'Run' then type 'cmd' (without ' ') and press enter. Then type 'ping production.shippingapis.com' (without ' ') and press enter. It's just timing out right now. Hopefully it will start to resolve sooner then later. When it begins to resolve re-enable your module and test it out.

8 Dec 2008, 10:16 PM
#38
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Dec 2008, 10:43 PM
#39
spiderr avatar

spiderr

New Zenner

Join Date:
Dec 2004
Location:
North Carolina, USA
Posts:
12
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

it appears none of their servers are open to ICMP ping. For example, you can't ping testing.shippingapis.com - you can however open a port with:

telnet production.shippingapis.com 80
telnet testing.shippingapis.com 80
telnet secure.shippingapis.com 443

when the port is open, type GET<return>

8 Dec 2008, 11:03 PM
#40
gt3 avatar

gt3

New Zenner

Join Date:
Jun 2007
Posts:
25
Plugin Contributions:
0

Re: usps shipping does not work today Dec 8

i thought i was the only one having problems. i thought it was a problem with my site. i was going NUTS trying to find the problem.:frusty: