thyphen Posted February 7, 2007 Share Posted February 7, 2007 I'm wondering whats the best way to setup like a pay per download site...What I mean is someone would pay the amount for the file then once the money is received they will be able to download the file? How could I make this possible... Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/ Share on other sites More sharing options...
boo_lolly Posted February 7, 2007 Share Posted February 7, 2007 are you just starting to get into php? Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178885 Share on other sites More sharing options...
thyphen Posted February 7, 2007 Author Share Posted February 7, 2007 I'm not just getting into it no but i don't have any professional training or anything like that... Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178890 Share on other sites More sharing options...
corbin Posted February 7, 2007 Share Posted February 7, 2007 Most people don't have any professional training with PHP... Anyways, I would give them a username and password that would work for like 48 hours after they paid. This would work by the username and password being put into a database... Then the database would be cleaned out every now and then and it would delete the old names, thus deactivating them. As far as money handling goes, I've never messed with that, and I would be of no help. Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178894 Share on other sites More sharing options...
boo_lolly Posted February 7, 2007 Share Posted February 7, 2007 most of us don't have any professional training. in fact, i would say somewhere like 95% of us don't have professional training. we learn by exposing ourselves to new projects, just like you. i think you're going to need to get into apache, and maybe mod_perl for this particular endeavor. altho php will play a major role. i think your question is more along the lines of 'how would i allow access to a certain person to download a certain file? a session? do i make the access temporary? through an email? how do i know they are only downloading one file? how do i know they're not going to look at other stuff on my servers if i let them see a single file?' am i right? Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178897 Share on other sites More sharing options...
thyphen Posted February 7, 2007 Author Share Posted February 7, 2007 well I was thinking Have an account system and people can purchase some sort of points and then the different files are worth a certain amount of points...so like one file would cost 100points and 100points cost $10 but the problem I'm still facing is how do i know that the person actually payed...is there a way I can automatically check if a payment came in or what? Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178904 Share on other sites More sharing options...
JasonLewis Posted February 7, 2007 Share Posted February 7, 2007 i dont like money handling with php. i have never tried it and i plan not to. i am going to make people pay with paypal or some other secure website, then when i receive there email i would create there account manually. but you probably could make a script that would check for emails, i havnt explored that part of php as of yet. Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178907 Share on other sites More sharing options...
boo_lolly Posted February 7, 2007 Share Posted February 7, 2007 there are many ways of securing and confirming an online transaction. as projectfear said, i wouldn't advise doing this in php, altho it is fully capable. i'd much rather use an already developed, already secure online transaction API, and integrate their software into my site, if i were you. paypal has many different levels of integration. it's called opening a gateway. check into it, but take my advice, do your research. you will get a LOT of different opinions and information from people who work for the same company. so make sure you read a lot of documentation, and ask for all kinds of it. Link to comment https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.