[ic] ZIP+4 breaks shipping

Jon Jensen interchange-users@interchange.redhat.com
Thu Jan 24 00:45:00 2002


On 3 Jan 2002, Bill Carr wrote:

> On Thu, 2002-01-03 at 11:45, Bill Carr wrote:
>
> > I noticed some orders came in with shipping at $0. It seems to only
> > happen when a ZIP+4 zip code is entered. A ZIP+4 zip passes the
> > zip=postcode check in the order profile. I am using [ups-query] as my
> > cost function in shipping.asc.
>
> To myself: RTFM.
> $ perldoc Business::UPS
> ...
>        3   Destination Zip(tm) Code
>
>            Destination Zip Code as a number or string (NOT +4
>            Format)

Bill,

I modified ups_query.tag in IC 4.9 in CVS to ignore everything but the
base 5-digit ZIP for U.S. addresses, so this shouldn't come up for future
users. Thanks for pointing out the part of Business::UPS that mentions the
requirement.

Jon