Click to See Complete Forum and Search --> : Downloads after payment received
davidg47
10-25-2005, 10:51 AM
Hi guys,
I have never done this, so if some of my questions seem sadly stupid, please bear with me.
I want to set up a site where if someone pays a nominal fee, a page would be opened where they can download a text/Word document. Sort of like some of these sites where if you pay a fee, you can download the code?
Is there a script somewhere that I can use to make this possible, or a tutorial?
Thanks,
David
JPnyc
10-25-2005, 02:12 PM
There's probably a tut for that out there somewhere, but I'm not aware of one per se. What method of payment are you entertaining? What serverside languages does your page host support?
davidg47
10-25-2005, 11:12 PM
Hi, Thank you for your reply. As far as payment processor, I guess I'll use my paypal account... my server supports php.
ray326
10-25-2005, 11:47 PM
<stream of conciousness>
Protect the distribution sub-site using Basic Auth or such. When they pay, give them an id/password to get to a php page with a link to the doc and a session cookie. Remember the id/password/session in a database. Don't let them come back with a different cookie.
</stream of conciousness>
davidg47
10-26-2005, 04:54 PM
Hi Ray,
Thanks for your advice. Is there a tutorial somewhere that will teach me how to do this?
Dave
felgall
10-26-2005, 04:56 PM
The way I work things with purchases through my Paypal account is to have the file automatically emailed to the purchaser when Paypal confirms the payment. That way payment by echeck which takes up to a week to clear can be handled automatically as the file gets emailed after clearance and not at the time of the poriginal uncleared payment.
davidg47
11-07-2005, 12:10 PM
Hi Stephen,
Thanks for your reply. So how do I set it up so that PayPal emails them the item after their payment has cleared whether it be a credit card, or a check?
Thanks,
David