Must be either a numeric 5-digit ZIP code or a 7-character Canadian Postal Code (if the dash is omitted and only 6 characters are used for the Canadian code the tag will still work) . The system is able to sense and recover from mistyped codes and will return an error if no postal code match is found in the rate tables.
The weight of the shipment in pounds. Fractional entries are accepted and rounded up to the next largest whole pound value, consistent with UPS rate calculation practice. This value is typically produced by your cart software and is transparent to the user.
Takes one of the following values:
- 1DAEAM - Next Day Air Early AM (new in v3.0)
- 1DA - Next Day Air
- 1DP - Next Day Air Saver
- 2DM - 2nd Day Air AM
- 2DA - 2nd Day Air
- 3DS - 3 Day Select (new in v3.0)
- 3DSC - 3 Day Select (commercial)*
- 3DSR - 3 Day Select (Residential)*
- GNDCOM - Ground (commercial)
- GNDRES - Ground (residential)
- CANSTD - Canada Standard
- WWXPD - WorldWide Expedited
- WWXPR - WorldWide Express
- WWXPRP - WorldWide Express Plus
*Supported only for backward compatibility purposes. Do not use on new installations!
The name of your combined rate/zone datasource.
The name of your zone-only datasource (ISP mode only).
DEFAULT = UPSZones
REQUIRED only if shipping from multiple U.S. origin points. For multiple origins, contains the name of the zone table to be used for the current shipping calculation. Should correspond to the original UPS zone table name, minus the extension. If the raw UPS zone file you downloaded was 786.csv then you should specify the zone as follows:
DEFAULT = UPS_CanadaZones
REQUIRED only if shipping from multiple U.S. origin points to Canadian destinations. For multiple origins, contains the name of the Canadian zone table to be used for the current shipping calculation. Should correspond to the original Canadian UPS zone table name, minus the extension. If your original zone file was colorado.csv (Shipment originates from: California) then specify the zone as follows:
Destination country. If you are using U.S. plans only, you must pass the following hidden form field in your entry form:
<input TYPE="Hidden" NAME="Country" VALUE="USA">
Automatically adds an Extended Area Surcharge (WorldWide plans only). Used to bypass the second data entry screen found in runme_ww1.cfm and keep program flow smooth. SINCE YOU ARE BYPASSING THE PROPER XAREA RATE DETERMINATION PROCEDURE, MAY RESULT IN AN OVERCHARGE.
Extended area surcharge value. Required only if you are using one of the WorldWide plans. Created and passed automatically by the tags themselves. NO DEVELOPER INTERVENTION REQUIRED
Default = WEST
U.S. Origin point. Required only if you are using the WorldWide plans. Used to determine which part of the United States your shipping origin point is located in. Three valid responses:
- EAST - for AL, CT, DE, DC, FL, GA, IL, IN, IA, KY, ME, MD, MA, MI, MO, NH, NJ, NY, NC, OH, PA, RI, SC, TN, VA, VT, WI, WV
- WEST - for AK, AZ, AR, CA, CO, HI, ID, KS, LA, MN, MS, MT, NE, NV, NM, ND, OK, OR, ST, TX, UT, WA, WY
- DADE - for Dade or Broward Counties in the state of Florida
Default = YES
In 2002 UPS changed how they handled Residential vs. commercial delivery. Setting ResRates to NO via your input form (a check box would do the trick) will produce a commercial destination rate.Leaving the parameter unspecified or set to ''YES'' gives a residential rate.
Default = 0.0075 (The February 2002 surcharge is 0.0050)
The calculated current UPS Fuel Surcharge. Can be hardcoded in or pull its value from a database somewhere.
The following variables are returned by UPSRateMonger for use in your templates
- UPS_Charge -Total shipping charge.
- UPS_Name - The service plan name, written out
- UPS_Error - OK = no error. Otherwise a text error message is returned specific to the nature of the error
- UPS_Success - YES = Success. NO = failure to find a rate, or some sort of other problem.
In addition, these input parameters are passed back as return variables
- PostCode - The PostalCode input parameter (not returned when UPS_WW is called)
- ShipWt - The ShipWeight input parameter
- ShipType - The ServiceType input parameter
- Country - The origin Country input parameter