uShopPrintFormCGI.class


The uShopPrintFormCGI applet is similar to the order form applets except that it does not ask for any payment information and instead of processing the order, it creates a CGI-generated print page to allow the customer to print out the order and mail or fax it to the store. Options let you customize the form's titles, instructions, and footnoot. To use this applet, you must have configured the ushop_cgiscript.pl in your cgi directory on your secure server. See also ushop_cgiscript.pl.

In addition, this applet also allows you to setup shipping, tax, and payment options as described below.

Parameters
Note: Optional parameters are in italics


Example

This print form example has been setup:



<APPLET CODE = "uShopPrintFormCGI.class" WIDTH=460 HEIGHT=580>
<PARAM NAME=scriptpath         VALUE="http://www.uburst.com/cgi-bin/ushop/ushop_cgiscript.pl">
<PARAM NAME=countries          VALUE="UNITED STATES,CANADA,UNITED KINGDOM,
                                      ANTIGUA AND BARBUDA,ARGENTINA,AUSTRALIA,AUSTRIA,BAHAMAS,
                                      BAHRAIN,BARBADOS,BELGIUM,BERMUDA,BRAZIL,BRUNEI DARUSSALAM,
                                      BULGARIA,CANADA,CAYMAN ISLANDS,CHILE,CHINA,COLOMBIA,CONGO,
                                      COSTA RICA,CROATIA (local name: Hrvatska),CUBA,CYPRUS,
                                      CZECH REPUBLIC,DENMARK,EGYPT,FALKLAND ISLANDS (MALVINAS),
                                      FINLAND,FRANCE,GERMANY,GIBRALTAR,GREECE,GREENLAND,HONG KONG,
                                      HUNGARY,ICELAND,INDIA,IRELAND,ISRAEL,ITALY,JAMAICA,JAPAN,
                                      JORDAN,KENYA,KUWAIT,LEBANON,LIECHTENSTEIN,LITHUANIA,LUXEMBOURG,
                                      MALAYSIA,MALTA,MEXICO,MOLDOVA (REPUBLIC OF),MONACO,MOROCCO,
                                      MOZAMBIQUE,NEPAL,NETHERLANDS,NEW ZEALAND,NORWAY,OMAN,PAKISTAN,
                                      PANAMA,POLAND,PORTUGAL,ROMANIA,RUSSIAN FEDERATION,SAUDI ARABIA,
                                      SEYCHELLES,SINGAPORE,SLOVAKIA (Slovak Republic),SLOVENIA,
                                      SOUTH AFRICA,SPAIN,SRI LANKA,SUDAN,SWEDEN,SWITZERLAND,TAIWAN, 
                                      PROVINCE OF CHINA,THAILAND,TURKEY,UKRAINE,UNITED ARAB EMIRATES,
                                      UNITED KINGDOM,UNITED STATES,VENEZUELA,VIRGIN ISLANDS (BRITISH),
                                      VIRGIN ISLANDS (U.S.),YEMEN,YUGOSLAVIA,Other">
<PARAM NAME=taxrate            VALUE="0.00%">
<PARAM NAME=taxtable           VALUE="UNITED KINGDOM=17.5%,FRANCE=21.0%">
<PARAM NAME=shipping           VALUE="Post,BY_SUBTOTAL,20=5.00,35=7.00,50=10.00,15.00;
                                      Express,BY_WEIGHT,10=10.00,20=20.00,25.00">
<PARAM NAME=handling           VALUE="5.00">
<PARAM NAME=handlingtable      VALUE="UNITED KINGDOM=0.00,FRANCE=1.00">
<PARAM NAME=popupwindow        VALUE="YES">
<PARAM NAME=label              VALUE="Print Order">
<PARAM NAME=title              VALUE="Order Form">
<PARAM NAME=instructions       VALUE="(From your browser select print, fill out the form, then fax it to us at 1-800-555-555)">
<PARAM NAME=section1           VALUE="Personal Information">
<PARAM NAME=section2           VALUE="Shipping Information">
<PARAM NAME=section3           VALUE="Payment Information">
<PARAM NAME=footnote           VALUE="*Make checks payable to Microburst Technologies, Inc.">
<PARAM NAME=return_url         VALUE="http://www.uburst.com">
<PARAM NAME=clearcart          VALUE="NO">
<PARAM NAME=textcolor          VALUE="black">
<PARAM NAME=background         VALUE="208,208,208">
</APPLET>