Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

RE: [ic] UPS Shipping Hack - Mike! HELP!



Matt,

Yes, the UPS API would be much easier....

However, they are not releasing any developer access keys nor are they
giving access keys to companies that ship less than 50 packages a day. Hell,
I even called corporate but got nowhere quick.

Jason

-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
Matthew Schick
Sent: Wednesday, July 18, 2001 3:31 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] UPS Shipping Hack - Mike! HELP!


On 18 Jul 2001 14:37:12 -0500, Jason Osborne wrote:
> Mike, List,
>
> Goal: Design a globalsub that can be called during order processing to
setup
> UPS to pick up the items ordered, print off a shipping label, and grab the
> tracking number. This globalsub will allow those people who do not meet
UPS'
> 50+ package-a-day E-Commerce Solution program. It will allow for easy
> integration of shipping into the current system allowing the shipping
> department in an organization to be able to automate each part of the
> shipping process.
>
> Solution: Send any information the shipping section of UPS.com needs to
the
> iis.class file located on their servers. Do general error checking and
pull
> off tracking number from site.
>
> Problem: UPS.com requires a login and password to access the shipping part
> of the site. I hacked out a script that sends this information via
> Net::SSLeay, however, the site tries to send back a cookie to the
"client".
> The globalsub needs to be able to anticipate and accept this cookie and
keep
> it on file so that it can "trick" UPS.com into thinking it is a browser.
>
> Code and current results are below.
<snip>

Have you looked into the UPS API?  You could do all of this without
having to 'trick' anything.....  If I remember correctly, all the
communication is done thru an XML pipe....

Just a suggestion.
Matt


_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: