The first step to take is to upload the product or information you are selling to your '_root' directory via FTP. Then you create an HTML page to showcase your product.
Within the HTML page you have created, you will build a form which uses the allinone.exe CGI Script. Here is an example of how to build the page:
<HTML>
<HEAD>
<TITLE>Buy Our Product Here</TITLE>
</HEAD>
<BODY>
<FORM METHOD="POST" ACTION="/cgi-bin/allinone.exe">
(The command line)
<input type="hidden" name="template" value="\checkorder.htm">
The path to the template page which processes the transaction.
<input type="hidden" name="ID" value="200">
(The Product ID of the item)
<input type="hidden" name="Price" value="25.00">
(The price)
<input type="hidden" name="Desc" value="Windows Cleaner">
(The product description)
<input type="hidden" name="Shipping" value="2.00">
(Any shipping charges. If none, type in 0.00)
<input type="hidden" name="dl" value="winclean.zip">
(The path to the product itself, which resides in your '_root' directory.)
<input type="hidden" name="Quan" value="1">
(The Quantity)
<input type="hidden" name="Subtotal" value="25.00">
(The Subtotal)
<input type="hidden" name="Tax" value="8.5">
(The tax percentage rate)
<input type="hidden" name="Total" value="29.30">
(The final total with tax & shipping included)
Change the values of the input tags above to reflect the parameters associated with your own product.
You would put the code and any images that describe your product anywhere you like on this page.
Next you need to collect the information from your customer to purchase your product:
Email Address:<input type="text" name="TP_Email" size=20>
First Name:<input type="text" name="TP_FIRSTNAME" size=20>
Last Name:<input type="text" name="TP_LASTNAME" size=20>
Company Name:<input type="text" name="TP_COMPANYNAME" size=20>
Street Address:<input type="text" name="TP_STREETADDRESS" size=20>
City:<input type="text" name="TP_CITY" size=20>
State:<input type="text" name="TP_STATE" size=20>
Zip:<input type="text" name="TP_ZIP" size=20>
Country:<input type="text" name="TP_COUNTRY" size=20>
Phone Number:<input type="text" name="TP_PHONE" size=20>
Credit Card Number:<input type="text" name="TP_CC" size=20>
Expiration Date:<input type="text" name="TP_EXP" size=20>
The above is an example of the information you could ask from your customer. Click here for a complete list of fieldnames.
We also have a list of State Codes, and a list of Country Codes to help you build your form. These are in drop-down format.
If you wish to specify the exact number of times a viewer will be able to download files, use the TP_DLCount tag. This allows you to sell things such as information your viewers can subscribe to. Once their limit has been reached, they have to make another payment in order to continue receiving more information:
<input type="hidden" name="TP_DLCount" value="3">
The default is 3.
<input type="submit" value="PURCHASE">
The Purchase button.
</FORM>
</BODY>
</HTML>
Ok, the product page is built. Now it's time to build the checkorder page to process the transaction.
|