One-time download upon purchase. |
One-time download upon purchase. |
zgenz |
Nov 2 2009, 02:03 PM
Post
#1
|
Group: Members Posts: 1 Joined: 2-November 09 Member No.: 10,209 |
I am going to start selling vector illustration packs on my website because of the overwhelming demand for them. I have decided to use paypal to process the transaction, but what i need to do is figure out how to get the actual .zip or .rar file containing the .AI(illustrator) file and the pdf containing terms of use to the customer upon transaction completion. Paypal has an option to forward the customer to a certain link upon successful completion, and i was wondering if it would be possible to generate a script that would allow someone forwarded to a link to be able to download the file once, and only once, to prevent that person from giving that download link to everyone.
Any help on this subject, or maybe an easier method to accomplish what im trying to do would be much appreciated |
Compu-guy |
Feb 4 2010, 12:56 PM
Post
#2
|
Group: Members Posts: 2 Joined: 4-February 10 Member No.: 11,007 |
Hi zgenz,
I imagine that an easy way to do this would be to assign a key at the time of purchase and store it in a database, then when they attempt to access the download you will have a script check for the key and if the key is present allow download and then delete the key. If the key is not in the database then you can redirect them to a "Download no longer available page". |
Lo-Fi Version | Time is now: 28th April 2024 - 10:25 AM |