Jump to content

How can I "activate" an account after recieved payments


Recommended Posts

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?

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

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.....

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.