Forums / Addon Shipping Modules / Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Started by lavs on 8 Sep 2014, 9:06 PM · Views: 6,638

Results 21 to 40 of 57
12 Sep 2014, 3:17 AM
#21
lavs avatar

lavs

New Zenner

Join Date:
Mar 2009
Posts:
85
Plugin Contributions:
0

Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Ajeh:

USPS tells me that they should have this fixed around midnight CT tonight (as in 00:01am September 12, 2014) ...

I will probably be sleeping then, but feel free to test this and see if it is working then ...

Me too, but I will test it in the morning!

12 Sep 2014, 1:00 PM
#22
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

So far, I am disappointed as this does not appear to be working for me for the First-Class Large Envelope yet. I have another email into USPS to see what is up ...

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!

15 Sep 2014, 11:00 PM
#23
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Just as an FYI - One of my clients called just now and it still is not working on her site as of today. Her Zen version is 1.5.1 if that makes any difference.

Ajeh:

So far, I am disappointed as this does not appear to be working for me for the First-Class Large Envelope yet. I have another email into USPS to see what is up ...

16 Sep 2014, 12:25 AM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

At this point in time, USPS has no idea of when the First-Class Large Envelope will be working ...

If ALL shipping is Machinable, set that to True ... then First-Class Large Envelope will work for 6oz (.375lbs) or more up to 13 oz ...

You might contact USPS at: [email protected] and see when they will get this fixed ... perhaps enough complaints will help move things along ...

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!

16 Sep 2014, 8:51 PM
#25
lavs avatar

lavs

New Zenner

Join Date:
Mar 2009
Posts:
85
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Linda, thanks for your help! I will email USPS and complain :-) It's really weird, some of my customers do get the first class envelope option, but not all orders that qualify see that rate. The 1st class parcel rate does work as a substitute (even though that's not a class that shows up on Stamps.com -- maybe that first class parcel they added is causing the problem)

16 Sep 2014, 10:11 PM
#26
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

If you have the Machinable set to True, then on weights of 6oz to 13oz will show the First-Class Large Envelope ...

Let us know what USPS says on this issue ...

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!

22 Sep 2014, 3:28 AM
#27
phil_soth avatar

phil_soth

Zen Follower

Join Date:
Sep 2013
Location:
Warren, Oregon
Posts:
117
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Hello. I don't know if this is the proper thread for my issue, but if not, please just tell me where to go....

We are running ZC v1.5.1 and have USPS Version 2014-01-26 installed. For Domestic rates, we have enabled 1st Class parcel, Standard Post, Priority, and Priority Express. We also have added Insurance and Priority Mail Express Insurance. We have been noticing that shipping estimates include insurance only for Priority Mail when the value is above $50.00; the amount is correct for the difference between $50.00 and actual shipment value. However, insurance is not being calculated for 1st Class Parcel/Standard Post when the shipment value is above $50.00.

Do you have any idea what our problem might be?

Thanks,
Phil
https://www.heirloomstocherish.com

22 Sep 2014, 1:12 PM
#28
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

You need to get the current USPS September 7, 2014 K5 shipping module ...
http://www.zen-cart.com/showthread.php?214502-USPS-RateV4-Intl-RateV2-Sept-7-2014-Version-K5

You should also subscribe to the News & Announcements forum so that you get updates that may affect you:
http://www.zen-cart.com/forumdisplay.php?1-News-and-Announcements

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 Oct 2014, 3:09 AM
#29
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Ajeh:

You need to get the current USPS September 7, 2014 K5 shipping module ...
http://www.zen-cart.com/showthread.php?214502-USPS-RateV4-Intl-RateV2-Sept-7-2014-Version-K5

You should also subscribe to the News & Announcements forum so that you get updates that may affect you:
http://www.zen-cart.com/forumdisplay.php?1-News-and-Announcements

current usps installed - nothing shows up ...

www,dirtwarehouse.com

3 Oct 2014, 3:18 AM
#30
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

i deleted my account and re-registered for a new number 3 times. they all act teh same way.

no errors during install
version shows to be correct
just doesnt show up during checkout

3 Oct 2014, 3:22 AM
#31
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Go to the Modules ... Shipping ... and edit the USPS and turn on the Debug to Log ... try a quote and in your /logs (or /cache in older Zen Cart versions) you will see the Shipping log file generated ... Zip the log file and post it as an attachment on your post ...

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!

8 Oct 2014, 2:48 PM
#32
randa avatar

randa

New Zenner

Join Date:
Jan 2009
Location:
California
Posts:
50
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

HI,
v.1.3.9h, PHP 5.1.6, MySQL 5.0.45
USPS In Production mode

I have tried to install the latest version of the USPS shipping module "RateV4 Intl RateV2 - September 7, 2014 Version K5" with no luck. We have read all of the posts in regards to this module and still no luck. The old USPS shipping module stopping working Tuesday after have a good 3 year run as a production server with no problems.

Here is the error I'm receiving under the admin/modules/shipping:

Shipping Configuration errors!
Warning: USPS shipping module is either missing the username, or it is set to TEST rather than PRODUCTION and will not work.
If you cannot retrieve USPS Shipping Quotes, contact USPS to activate your Web Tools account on their production server.

Log File:
[08-Oct-2014 05:22:58] PHP Fatal error: Call to undefined function json_decode() in /includes/modules/shipping/usps.php on line 2125

Developers Tool Kit:

/usr/local/htdocs/www.kiscosales.com/www/includes/languages/english/modules/shipping/usps.php
Line #12 : * @version $Id: usps.php 2014-09-07 ajeh Version K5 $
/usr/local/htdocs/www.kiscosales.com/www/includes/modules/shipping/usps.php
Line #13 : * @version $Id: usps.php 2014-09-07 ajeh Version K5 $

It is very important that I get this working again 98% of our shipping is done through USPS, Please Help...
Thank you

8 Oct 2014, 3:16 PM
#33
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Are you able to have a more current php version? json_decode needs php 5.2 at least ...

NOTE: you should really consider upgrading your Zen Cart to something stable and current and your php to something more current such as php 5.3

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!

8 Oct 2014, 3:18 PM
#34
randa avatar

randa

New Zenner

Join Date:
Jan 2009
Location:
California
Posts:
50
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

No, not at this time. is there any type of work around?
Thank you for the quick reply

8 Oct 2014, 3:23 PM
#35
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Not really ...

However, we may be able to try a few things ...

What USPS shipping methods do you use?

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!

8 Oct 2014, 3:34 PM
#36
randa avatar

randa

New Zenner

Join Date:
Jan 2009
Location:
California
Posts:
50
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Domestic Shipping Methods:
Express, Priority

International Shipping Methods:
Express Mail International
Priority Mail International
Priority Mail International Flat Rate Med Box
Priority Mail International Flat Rate Lrg Box

8 Oct 2014, 3:36 PM
#37
randa avatar

randa

New Zenner

Join Date:
Jan 2009
Location:
California
Posts:
50
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Missed one:
International
First Class Mail International Package

8 Oct 2014, 3:39 PM
#38
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Okay ... this is a stab in the dark as I do not have such an old version of php to test with ...

Edit the file:
/includes/modules/shipping/usps.php

and add this code to the bottom of the file:

if ( !function_exists('json_decode') ){ 
  function json_decode($json) 
  {  
      // Author: walidator.info 2009 
      $comment = false; 
      $out = '$x='; 
      
      for ($i=0; $i<strlen($json); $i++) 
      { 
          if (!$comment) 
          { 
              if ($json[$i] == '{')        $out .= ' array('; 
              else if ($json[$i] == '}')    $out .= ')'; 
              else if ($json[$i] == ':')    $out .= '=>'; 
              else                         $out .= $json[$i];            
          } 
          else $out .= $json[$i]; 
          if ($json[$i] == '"')    $comment = !$comment; 
      } 
      eval($out . ';'); 
      return $x; 
  }  
}
if(!function_exists('json_encode'))
{
  function json_encode($a=false)
  {
    // Some basic debugging to ensure we have something returned
    if (is_null($a)) return 'null';
    if ($a === false) return 'false';
    if ($a === true) return 'true';
    if (is_scalar($a))
    {
        if (is_float($a))
        {
            // Always use '.' for floats.
            return floatval(str_replace(',', '.', strval($a)));
        }
        if (is_string($a))
        {
            static $jsonReplaces = array(array('\\', '/', "\n", "\t", "\r", "\b", "\f", '"'), array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"'));
            return '"' . str_replace($jsonReplaces[0], $jsonReplaces[1], $a) . '"';
        }
        else
            return $a;
    }
    $isList = true;
    for ($i = 0, reset($a); true; $i++) {
        if (key($a) !== $i)
        {
            $isList = false;
            break;
        }
    }
    $result = array();
    if ($isList)
    {
        foreach ($a as $v) $result[] = json_encode($v);
        return '[' . join(',', $result) . ']';
    }
    else
    {
        foreach ($a as $k => $v) $result[] = json_encode($k).':'.json_encode($v);
        return '{' . join(',', $result) . '}';
    }
  }
}

NOTE: This is NOT an ideal solution and you should get php upgraded soon ... you should also get your Zen Cart upgraded soon!

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!

8 Oct 2014, 4:17 PM
#39
randa avatar

randa

New Zenner

Join Date:
Jan 2009
Location:
California
Posts:
50
Plugin Contributions:
0

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Installed the code and updated the settings in the USPS screen.
I added a product to my cart and tried to get a shipping price. The display is now blank and no shipping costs show up at all including the UPS rates.

8 Oct 2014, 4:20 PM
#40
ajeh avatar

ajeh

Oba-san

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

Re: Installed USPS Update of Sept. 7, 2014 and now only getting priority mail rates

Could you look in the /cache directory and see if there are any debug logs in there? If so, what are the messages inside them?

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!