[ic] ups-query problem.
peter at pajamian.dhs.org
Fri Sep 11 05:01:25 UTC 2009
On 08/16/2009 06:51 AM, Gert van der Spoel wrote:
> Idea the same as before, chewing it out a bit further. [ups-query] uses
> Business::UPS to do the query.
> So, as mentioned before, try it out without Interchange, using the module
> use Business::UPS;
> my ($shipping,$ups_zone,$error) = getUPS(qw/GNDRES 05404 90210 5/);
> $error and die "ERROR: $error\n";
> print "Shipping is \$$shipping\n";
> print "UPS Zone is $ups_zone\n";
> ~# ./test.pl
> Shipping is $10.29
> UPS Zone is 008
> So from the looks of it Business::UPS does not return the correct data ...
> In that case you probably need to talk to the person who is responsible for
> this module:
> Considering the latest release is 6 years old there are chances this is not
> anymore working as it should.
It looks like Net::UPS is only a couple years old. It may be worth
trying that to see if it returns more accurate results.
More information about the interchange-users