Your customers reach this page once their order is approved. They can then download the product from this page. Incorporate the following code into your HTML document:
Click the download button to begin your download.
#*
##TP_Desc##
<FORM ACTION="/cgi-bin/download.exe?##TP_DL##" METHOD="POST">
<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" name="submit" value="DOWNLOAD">
</FORM>
*#
In the event that a power failure occured or your customer somehow got disconnected from the Net, you can create a page where they could still download the file once they were back up without having to go and buy it all over again. You would put a link to this page on fillorder.asp. Then they could return to the page any time and download the product.
Create a page called download.htm and include the following code in it:
<FORM ACTION="/cgi-bin/fillorder.exe" METHOD="POST" name="fillorderform">
Order Number: <input type="text" name="OrderNumber" value="" size=7>
Ticket Number: <input type="text" name="ticket" value="" size=10>
<input type="hidden" name="template" value="\fillorder.asp">
<input type="submit" value="Get Product">
</FORM>
Leave the OrderNumber & ticket values blank so that your customer can fill those numbers in on the form themselves.
If you customer doesn't remember or lost the order and ticket numbers, they can give you a call. You can then verify that they have paid for the item, and give them the numbers.
|