I need to have a system? such that? if someone likes a certain .zip file, they can click on download now and will have one of two options:
? 1) get access code
? 2)? enter access code and download the zip file
When person selects option 1, they will be forwarded to paypal to pay for the access code of that specific zip file. After they have paid, they will be emailed 3 unique access codes for that zip file to be downloaded. Each access code must only allow the user to download the purchased zip file, so having unique codes with filenames may be a good idea to be able to download the correct file.
Once the access code is used through option 2, that access code must not be valid anymore. The access codes will only be valid for a maximum period of 36 hours, if unused within that period, they will become invalid.
I will be using this payment and download procedure in word-press, so it should? be easy to integrate? using posts.
Please pay special care to the security of where the zip files are downloaded from.? I would like the path to be hidden at all times.