asgsoft Posted June 19, 2007 Share Posted June 19, 2007 Hi I am about to start a membership website where you have to subscribe to gain access. I have a user registration system in place but how do I encoperate Paypal IPN Subscription and recurring payments in it? Any Ideas or samples or tutorials out there? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/56165-php-and-paypal-ipn-subscription-and-recurring-payments/ Share on other sites More sharing options...
grlayouts Posted June 19, 2007 Share Posted June 19, 2007 To repeat what is constantly said, this is a php help forum. i'd suggest the freelance forum if you have no code as this is a specialist issue. Quote Link to comment https://forums.phpfreaks.com/topic/56165-php-and-paypal-ipn-subscription-and-recurring-payments/#findComment-277517 Share on other sites More sharing options...
MasterACE14 Posted June 19, 2007 Share Posted June 19, 2007 I have been working on a similar system for my site, although I don't have it up yet, I have friends running it on their sites and it works well. What I have done is, first workout the chain of events. like this: pay.php >>> www.paypal.com >>> done.php on pay.php you have a paypal button that you make in merchant tools in your account and put the coding for that button on pay.php, then the user clicks the button, is sent to paypal, pays for the goods and/or services, and when you make the button you make it send the user back to done.php to show it was successful, and on done.php you have the queries that are going to run, example: update the users "authlevel" and so on. but you also need security for this to work or people can just put done.php in their browser and they have recieved the bonus's for free. so you can either use apache's mod_rewrite, or do a "redirection check" to see if the user has come from paypal, and if not send them to a cancel.php page or whatever. I am still currently working on the security but I hope this gives you an idea of how it can be done, without using IPN. but just common sense Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/56165-php-and-paypal-ipn-subscription-and-recurring-payments/#findComment-277521 Share on other sites More sharing options...
asgsoft Posted June 19, 2007 Author Share Posted June 19, 2007 OK I can do this for a goods but when it comes to subscription payments then I am stuffed Any Ideas how to do it with that? Quote Link to comment https://forums.phpfreaks.com/topic/56165-php-and-paypal-ipn-subscription-and-recurring-payments/#findComment-277580 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.