My favorites | Sign in
Project Logo
                
Search
for
Updated Oct 12, 2008 by jaderobbins
Labels: Featured
upsTrack  
Detailed usage and example using upsTrack for UPS Tracking Tool.

Introduction

To use upsTrack you must require the function upsTrack.php

require("upsTrack.php");

Details

Example of getting the entire xml response in an array

$myTrack = new upsTrack('accessnumber','username','password');
$myArray = $myRate->getTrack('trackingNumber');

Example of getting the scheduled delivery date

echo $myTrack->getDeliveryDate();

Example of getting the pickup date

echo $myTrack->getPickupDate();

Comment by desaiseenu, Feb 03, 2009

Thanks a lot for this code really it was so useful!!!!!!!!!!!!!!!!! thaks again

Comment by jccmz24, Apr 28, 2009

what is the credentials?

Comment by aryden, Aug 14, 2009

How would I generate a new label to be printed / shipped?


Sign in to add a comment
Hosted by Google Code