PAY-PER-DOWNLOAD
|
Features and Details of Pay per Download:
When adding Pay per Download capabilities to additem.exe, you must add an additional input field value "dl" to each product available as a download. The value of the input specifies the file name to be downloaded. The location of the file is, by default, assumed to be in the subdirectory '_root'. The example file below would be located at http://www.yoursite.com/_root/filename.zip: <input type="hidden" name="dl_" value="filename.zip"> allinone.exe On the allinone.exe page you will need to specify the exact number of times a customer will be able to download the files they have purchased with the TP_DLCount value. The default download value is 3 unless a value is specified differently as in the example below: <input type="hidden" name="TP_DLCount" value="4"> Pay per Download Order Process. There are several pages that make up the Pay per Download Order Process. They are described as follows:
Pay per Download Order Confirmation Page
<FORM ACTION="/cgi-bin/fillorder.exe" METHOD="POST" name="fillorderform"> The following link specifies the location of the Pay per Download, Product Download Template Page. The link is an absolute link but has the slashes reversed:
<input type="hidden" name="template" value="\payperdownload\fillorder.htm"> Close the form. As with all forms you must close it with a closing form tag: </FORM> The Pay per Download, Product Download Template Page You need to make a standard HTML page and use the code and variables below to build the download section of your form. This section of code will repeat itself for every Pay per Download downloadable item purchased:
#* Emergency Download Page The Emergency Download Page allows the customer additional attempts to download their purchased file in case of a transmission failure, or if they get disconnected or need to download the purchases at a future time. You would want to have the code below on a regular HTML page and post instructions of how to get there within your Order Confirmation Process:
<FORM METHOD="POST" ACTION="/cgi-bin/fillorder.exe" name="fillorderform"> The following link specifies the location of the Pay per Download, Product Download Template Page. The link is an absolute link but has the slashes reversed:
<input type="hidden" name="template" value="\payperdownload\fillorder.htm"> Close the form. As with all forms you must close it with a closing form tag: </FORM> Click here for additional Pay per Download details.
|