PAY-PER-DOWNLOAD

Features and Details of Pay per Download:

  • Allows instant delivery of your product upon sale approval.
  • Can deliver any type of file more economically by removing a large portion of the manual process of sending and packaging product.
  • Provide documents on the Internet created specifically for a client or for potential clients.
  • Supports all file types for transfer.
  • Pay per Download code to be added to additem.exe, fillcart.exe, and allinone.exe
additem.exe

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
The form and inputs below are needed to generate the Pay per Download, Product Download Template Page:

<FORM ACTION="/cgi-bin/fillorder.exe" METHOD="POST" name="fillorderform">
<input type="hidden" name="OrderNumber" value="##TP_OrderNumber##">
<input type="hidden" name="ticket" value="##TP_ticket##" size="20">

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">
<input type="submit" value="Download">

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:

#*
##TP_Desc## :
<FORM METHOD="POST" ACTION="/cgi-bin/download.exe?##TP_DL##">
<input type="hidden" name="order" value="##TP_OrderNumber##">
<input type="hidden" name="ticket" value="##TP_ticket##">
<input type="hidden" name="itemid" value="##TP_Itemid##">
<input type="submit" value="DOWNLOAD ##TP_itemid##">

*#

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">
Order Number: <input type="text" name="OrderNumber" value="" size="7">
Ticket Number: <input type="text" name="ticket" value="" size="7">

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">
<input type="submit" value="DOWNLOAD">

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.