Rifts Posted October 1, 2009 Share Posted October 1, 2009 I really need some help figuring this out.. I would like a client to come to my website and register then upon logging in they will be sent to their personal account area (I can do all of this part). The part i'm having trouble with is this... Once in their account page I would like have an activate account button which will bring them to paypal and after they pay X amount of money it will flag their as active.. is this even possible? if so where do i start? Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/ Share on other sites More sharing options...
RussellReal Posted October 1, 2009 Share Posted October 1, 2009 usually whatever payment gateway you use should let you know one way or another, I'm guessing that the APIs give you like a php class or whatever that you use to handle a client's data with, then it sends the request to their server and then they send you approved or denied Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-928190 Share on other sites More sharing options...
redarrow Posted October 1, 2009 Share Posted October 1, 2009 i use paypal to do what you want, and paypal got grate support, for there gateway codes. Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-928192 Share on other sites More sharing options...
redarrow Posted October 1, 2009 Share Posted October 1, 2009 This is what i would of done.... i would off created a web site, and let users join, also let users have a log in area,i would also ask then a secret word/saying for security. the database table like the following. user_id <<< users id ((members id) user_name << user name (members name)) email <<(( valid email address to valadate account. password << users password md5/sha1/md5 encripted... secret << secret saying for the extra security log in form. status << account valid or not. payment_status << if the user has paid via paypal or not. payment_date << when user paid for the service..... payment_expiry << when the payment expires..... date_activated << when the user activated the account date_joined <<when user joined my web site. user_ip << user current ip// might need updating each time user logs on. the only time the user can use any page that needed to be paid is when the payment_status is active else non active not seeing theo's paid pages like others. this is only a example the payments should have there own database table's look at my sig how the paypal service works in php it easy, after a while getting to no it your be a master..... Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-928199 Share on other sites More sharing options...
Rifts Posted October 2, 2009 Author Share Posted October 2, 2009 the paypal thing costs $300.. is there an easy way to do this which doesnt cost $300 or is free? Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-929315 Share on other sites More sharing options...
RussellReal Posted October 2, 2009 Share Posted October 2, 2009 paypal doesn't cost $300 lol... paypal is free, they charge you per transaction. Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-929321 Share on other sites More sharing options...
Rifts Posted October 2, 2009 Author Share Posted October 2, 2009 the paypal gateway thing mentioned is about $300.. https://www.paypal.com/us/cgi-bin/webscr?cmd=_payflow-gateway-pricing-outside Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-929324 Share on other sites More sharing options...
Zane Posted October 2, 2009 Share Posted October 2, 2009 Paypal IPN is what this is called 2 useful links --------------- https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro http://designertuts.com/paypal-ipn-receiving-instant-payments-in-your-web-application/ Quote Link to comment https://forums.phpfreaks.com/topic/176142-how-can-i-activate-an-account-after-recieved-payments/#findComment-929378 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.