uShopOrder3SMTP_dn.class


The uShopOrder3SMTP applet is an order form which collects the customer's personal and payment information and then emails the information to the store owner. It is similar to the other uShop order applets, except this order applet allows to you to configure:

Note that since this order method emails the information via regular SMTP mail, the transactions will not necessarily be secure. See also uShop Security.

Parameters

Configuring the Labels

As shown in the example below, there are 19 field labels that can be configured. The parameter names are "LABEL1", "LABEL2", "LABEL3",...., "LABEL19". And for each parameter you can specify any text you want to be used as the label. If you want to make the fields required, then just start each required field with an asterisk (*) - again as shown below. NOTE THAT certain fields are predefined since tax and shipping calculations are based on them. That is, "LABEL3" should always refer to an email address, "LABEL8" and "LABEL15" should always refer to the Country, and the credit card fields ("LABEL16", "LABEL17", "LABEL18", and possibly "LABEL19") should always refer to the name on the credit card, credit card number, the expiration date, and issue number, respectively.

Note: Optional parameters are in italics


Example

This order form example has been setup:



<APPLET CODE = "uShopOrder3SMTP_dn.class" WIDTH=460 HEIGHT=845>
<PARAM NAME=mailto             VALUE="info@uburst.com">
<PARAM NAME=subject            VALUE="uShop Order">
<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=KR5.00,35=KR7.00,50=KR10.00,KR15.00;
                                      Express,BY_WEIGHT,10=KR10.00,20=KR20.00,KR25.00">
<PARAM NAME=handling           VALUE="KR5.00">
<PARAM NAME=handlingtable      VALUE="UNITED KINGDOM=KR0.00,FRANCE=KR1.00">
<PARAM NAME=payment            VALUE="Visa,Master Card,Discover,American Express,Switch">
<PARAM NAME=validate           VALUE="NO">
<PARAM NAME=popupwindow        VALUE="YES">
<PARAM NAME=message            VALUE="Tak for din bestilling.">
<PARAM NAME=thankyou_url       VALUE="NONE">
<PARAM NAME=clearcart          VALUE="NO">
<PARAM NAME=textcolor          VALUE="black">
<PARAM NAME=background         VALUE="208,208,208">
<PARAM NAME=shippingfields     VALUE="YES">
<PARAM NAME=ccfields           VALUE="YES">
<PARAM NAME=LABEL1             VALUE="*Navn:">
<PARAM NAME=LABEL2             VALUE="*Firma:">
<PARAM NAME=LABEL3             VALUE="*Email:">
<PARAM NAME=LABEL4             VALUE="*Adresse:">
<PARAM NAME=LABEL5             VALUE="">
<PARAM NAME=LABEL6             VALUE="*By:">
<PARAM NAME=LABEL7             VALUE="*Postnummer:">
<PARAM NAME=LABEL8             VALUE="*Land:">
<PARAM NAME=LABEL9             VALUE="*Telefon:">
<PARAM NAME=LABEL10            VALUE="Send Til:">
<PARAM NAME=LABEL11            VALUE="Adresse:">
<PARAM NAME=LABEL12            VALUE="">
<PARAM NAME=LABEL13            VALUE="By:">
<PARAM NAME=LABEL14            VALUE="Postnummer:">
<PARAM NAME=LABEL15            VALUE="Land:">
<PARAM NAME=LABEL16            VALUE="*Navn på kreditkort:">
<PARAM NAME=LABEL17            VALUE="*Kreditkortnummer:">
<PARAM NAME=LABEL18            VALUE="*Udløbsdato og år:">
<PARAM NAME=ISSUE_NUMBER       VALUE="NO">
<PARAM NAME=LABEL19            VALUE="*Issue Number:">
</APPLET>