Thread: USPS issues

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default USPS issues

    Hi,

    I am having problems with USPS, as the values estimated by the module are substantially less than the actual values, what can be wrong? I noticed there is a patch for 1.3x with slight differences with the usps.php module in version 1.38a, for instance this a code difference:

    This is the code in May 2008 patch
    Code:
     $this->intl_types = array(
            'Global Express' => 'Global Express Guaranteed',
            'Global Express Non-Doc Rect' => 'Global Express Guaranteed Non-Document Rectangular',
            'Global Express Non-Doc Non-Rect' => 'Global Express Guaranteed Non-Document Non-Rectangular',
            'Global Express Envelopes' => 'USPS GXG Envelopes',
            'Express Mail Int' => 'Express Mail International (EMS)',
            'Express Mail Int Flat Rate Env' => 'Express Mail International (EMS) Flat-Rate Envelope',
            'Priority Mail International' => 'Priority Mail International',
            'Priority Mail Int Flat Rate Env' => 'Priority Mail International Flat-Rate Envelope',
            'Priority Mail Int Flat Rate Box' => 'Priority Mail International Flat-Rate Box',
            'Priority Mail Int Flat Rate Lrg Box' => 'Priority Mail International Large Flat Rate Box',
            'First Class Mail Int Lrg Env' => 'First Class Mail International Large Envelope',
            'First Class Mail Int Package' => 'First Class Mail International Package',
            'First Class Mail Int Letters' => 'First Class Mail International Letters',
            'First Class Mail Int Flats' => 'First Class Mail International Flats',
            'First Class Mail Int Parcels' => 'First Class Mail International Parcels'
            );
    and the module in 1.38a:

    Code:
    $this->intl_types = array(
            'Global Express' => 'Global Express Guaranteed',
            'Global Express Non-Doc Rect' => 'Global Express Guaranteed Non-Document Rectangular',
            'Global Express Non-Doc Non-Rect' => 'Global Express Guaranteed Non-Document Non-Rectangular',
            'Express Mail Int' => 'Express Mail International (EMS)',
            'Express Mail Int Flat Rate Env' => 'Express Mail International (EMS) Flat Rate Envelope',
            'Priority Mail International' => 'Priority Mail International',
            'Priority Mail Int Flat Rate Env' => 'Priority Mail International Flat Rate Envelope',
            'Priority Mail Int Flat Rate Box' => 'Priority Mail International Flat Rate Box',
            'First-Class Mail Int' => 'First-Class Mail International'
             );
    As 1.38a supposed to be newer but there is one thing that kept me thinking, the code in the 1.38a module says >>>
    * @version $Id: usps.php 7503 2007-11-27 20:36:04Z ajeh $
    and the code in the May 2008 patch says >>>
    * @version $Id: usps.php 8516 2008-05-13 01:56:07Z drbyte $
    which is newer so I was wondering if the patch applied to ALL zen cart versions including 1.38a, or if version 1.38a USPS module was already up to date ...

    BTW I am not sure if this affects in any way the problem with shipping estimates I mentioned in the subject.

    Thank you

  2. #2
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: USPS issues

    Quote Originally Posted by icecold View Post
    Hi,

    I am having problems with USPS, as the values estimated by the module are substantially less than the actual values, what can be wrong? I noticed there is a patch for 1.3x with slight differences with the usps.php module in version 1.38a, for instance this a code difference:

    As 1.38a supposed to be newer but there is one thing that kept me thinking, the code in the 1.38a module says >>>
    * @version $Id: usps.php 7503 2007-11-27 20:36:04Z ajeh $
    and the code in the May 2008 patch says >>>
    * @version $Id: usps.php 8516 2008-05-13 01:56:07Z drbyte $
    which is newer so I was wondering if the patch applied to ALL zen cart versions including 1.38a, or if version 1.38a USPS module was already up to date ...

    BTW I am not sure if this affects in any way the problem with shipping estimates I mentioned in the subject.

    Thank you
    Yes, you to need to update!

    @version $Id: usps.php 7503 2007-11-27 20:36:04Z ajeh $
    @version $Id: usps.php 8516 2008-05-13 01:56:07Z drbyte $

    The one with the date of 2008-05-13 (year-month-day) is newer then 2007-11-27 date.

    This might be of help.
    http://www.zen-cart.com/forum/showthread.php?t=97461

 

 

Similar Threads

  1. USPS Shipping Issues
    By creinold in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 12 Dec 2011, 08:33 AM
  2. USPS rounding issues
    By gothstone in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Jan 2010, 09:04 PM
  3. USPS Error Resolution Issues
    By flintcog in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 23 Jan 2008, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg