limited website file linkage help

Soldato
Joined
10 Apr 2004
Posts
13,497
To explain:

If someone buys a file using paypal, paypal sends them back to the website in question.

How could we make it so paypal would go back to a page where it randomises the link to the file download and makes a "ticket" so that person has 1 hour to download that file or go to a page to watch it?

2ndly, same as above except they have unlimited access to it?

Cheers :)
 
I'm not sure if there's an off the shelf script to do this... I wouldn't even know what to search for.

It would be relatively simple to code yourself though if you know PHP/Perl/ASP or know someone who does who you can pay in beer :).

Paypal, if you don't know, provide an IPN system which will make an HTTP POST to the page of your choice. This includes the status of the payment, the payment amount and the payer's email address. You would then have your script add this info to a database along with a random string and email those details to the user's Paypal email address. The user could then return to a page, input their code and be given their download.
 
Nobody will do it for free mate, sorry. Try somewhere like rentacoder as people on this forum couldn't offer their services for money, even if they wanted to.
 
Adz said:
Nobody will do it for free mate, sorry. Try somewhere like rentacoder as people on this forum couldn't offer their services for money, even if they wanted to.


Hmmm, ok, ill have a bash first, should learn something :D
 
Back
Top Bottom