Feature
Real-time delivery tracking from USPS
Fast operation
Works using CFMX built-in XML Parser. No 3rd party application needed. No CFX tags. Shared hosting friendly. Just copy this custom tag in your ColdFusion working directory, and you're set
Requirements
Supported ColdFusion Server:
- ColdFusion MX 6, 6.1
- ColdFusion MX 7
on all operating systems
Supported browsers: Since this tag is working on server side, all browsers are compatible.
USPS Account: In order to use this custom tag, you must have a USPS account. Follow this link to register: http://www.uspswebtools.com/registration/
Usage
| <cf_usps_track |
demomode="true,false, required" |
| |
userid="your USPS userid, required" |
| |
password="your USPS password, leave blank if you don't get one from USPS" |
| |
result="resulted query name, required" |
| |
TrackingID="USPS tracking id, required"> |
Explanation:
1. Upon registering with USPS, they will create a userid for you, and set it to test mode. While your account is in testmode, set "demomode=true". USPS test mode will only allow couple of trackingids like: EJ958083578US, EJ958088694US Use the default values from example page to make sure the custom tag works (it should work anyway)
After you have successfuly install and test the custom tag, ask USPS to set your account to production mode. Follow the process as found in USPS welcome email. After USPS has set your account to production, set "demomode=false"
2. Password is optional. By default USPS will not send password, so you can leave this attribute to blank. 3. TrackingID is an alphanumeric number given by USPS to track your shipping (trackingid) 4. Result Upon successful call, the custom tag will generate a query with the following fields: EventDate,EventTime,Event,EventCity,EventState,EventZIPCode,EventCountry,FirmName,Name,AuthorizedAgent,Type
The first row (type=summary) shows the summary of your delivery status. While the other rows (type=detail) show each detail of your delivery (transit, etc)
|