USPS module patch and updated shipping_methods.php

9 views
Skip to first unread message

pablof

unread,
Dec 12, 2007, 1:41:52 PM12/12/07
to google-checkout-for-...@googlegroups.com
hi guys,

recently usps made unannounced changes to their shipping method id names.
the patch for the usps module is available here:
http://www.zen-cart.com/forum/showthread.php?t=80695

and the updated shipping_methods.php is attached.

follow the instructions of the zen-cart thread to install the usps module patch.
regarding shipping_methods.php:
if you've never modified it just overwrite it with this one.
if you've modified it somehow, backup the old one and copy the changes
from the new file to the one you have (or the other way around).
the modified part is (around line 14):
OLD:
'usps' => array(
'domestic_types' =>
array(
'Express' => 'Express Mail',
'First Class' => 'First-Class Mail',
'Priority' => 'Priority Mail',
'Parcel' => 'Parcel Post',
'BPM' => 'Bound Printed Material',
'Library' => 'Library'
),

NEW:
'usps' => array(
'domestic_types' =>
array(
'EXPRESS' => 'Express Mail',
'FIRST CLASS' => 'First-Class Mail',
'PRIORITY' => 'Priority Mail',
'PARCEL' => 'Parcel Post',
'BPM' => 'Bound Printed Material',
'LIBRARY' => 'Library'
),

basically the method names have been converted to uppercase.

let me know if you encounter any problems.

cheers,

--
pablof

shipping_methods.php
Message has been deleted

Woodymon

unread,
Dec 13, 2007, 2:12:57 AM12/13/07
to Google Checkout Mod for Zen Cart Community Support Forum
GC mod Devs. Thanks for providing this info/update.

Which version of the GC mod and version of Zen Cart is this patch
intended for and/or been tested with? It would be much appreciated by
all merchants if such info (version backward compatibility) was
included in all announcements of GC mod patches.

Thanks,
Woody

On Dec 12, 10:41 am, pablof <pab...@gmail.com> wrote:
> hi guys,
>
> recently usps made unannounced changes to their shipping method id names.
> the patch for the usps module is available here:http://www.zen-cart.com/forum/showthread.php?t=80695
>
> and the updated shipping_methods.php is attached.
>
> {snippped}
>
> basically the method names have been converted to uppercase.
>
> let me know if you encounter any problems.
>
> cheers,
>
> --
> pablof
>
> shipping_methods.php
> 18KDownload

pablof

unread,
Dec 13, 2007, 8:42:41 AM12/13/07
to google-checkout-for-...@googlegroups.com
the patch is for zen-cart versions 1.3.x, there's a simple fix in the
zen-cart forum thread for versions prior to that.
google checkout module versions 1.4.x

--
pablof

wood...@gmail.com

unread,
Dec 13, 2007, 11:03:40 AM12/13/07
to google-checkout-for-...@googlegroups.com
Of course I don't recommend anyone run old versions of Zen Cart.

But you are reporting the GC 1.4x mod supports versions of ZC prior to Zen
Cart v.1.30? For example ZC v.1.27 ? Are you certain? If so this is the
first I'm aware of this. It has always been communicated that ZC v.1.3x was
required for GC mod v.1.4x versions to work. And understood the latest GC
mod required more recent ZC v.1.3x versions.

The docs definitely need updated to reflect version requirements.

Thanks for any info.

Woody

Reply all
Reply to author
Forward
0 new messages