Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7218

Re: FEDEX Shipping

From Doug Miller <doug_at_milmac_dot_com@example.com>
Newsgroups comp.lang.php
Subject Re: FEDEX Shipping
Date 2012-10-01 23:09 +0000
Organization A noiseless patient Spider
Message-ID <XnsA0DFC2DD07F2Cdougmilmaccom@88.198.244.100> (permalink)
References <k49sc0$dm4$1@news.albasani.net>

Show all headers | View raw


j <mung_me@att.net> wrote in news:k49sc0$dm4$1@news.albasani.net:

>   Any suggestions for shipping rate php code for FEDEX?
> 
> I've previously done UPS and USPS and found them to be no joy, 
> particularly USPS.

Be careful with UPS -- they still haven't fixed a long-standing bug with zip code validation 
(or, more correctly, with their complete *failure* to validate zip codes).

Specifically, UPS will accept any string of *four* numbers as a zip code, as long as the first 
*three* correspond with a valid zip code *somewhere*, and provide a rate quote based on 
that.

However, the rate quotes they provide might as well be random numbers. Suppose the 
customer mistakenly enters 8072 as the ZIP code. Did he mean 80072, or 80772, or 80722, 
or 08072? There's no way to know. Yet instead of rejecting the rate request, they return a 
rate quote, which is almost surely incorrect.

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

FEDEX Shipping j <mung_me@att.net> - 2012-09-30 12:35 -0400
  Re: FEDEX Shipping "Peter H. Coffin" <hellsop@ninehells.com> - 2012-09-30 18:09 -0500
  Re: FEDEX Shipping Doug Miller <doug_at_milmac_dot_com@example.com> - 2012-10-01 23:09 +0000

csiph-web