Selling membership

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
finkyfeke
Forum Newbie
Posts: 2
Joined: Fri Apr 20, 2007 7:29 pm

Selling membership

Post by finkyfeke »

Hi,

I'm a beginner with php but I've picked up a bit in the last few days trying to solve this problem. I'm currently making a website and I'm wondering what is the best/safest way to sell membership to my site.

I have login/register php scripts and a mysql database of users.

Somewhere in there will have to be a clickbank page which is not on my domain.

What I need to know is whether to make users:

pay first then register (risk of a browser closing between payment and registration?)
or
register then pay (maybe with a 'paid' field in the database)

Either way, I'm going to need some help with scripts and layout etc.

Thanks in advance,

Finky Feke
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I would go with the latter.

How I personally handle such situations I will allow them to register but cannot access the services until they have completed the purchase. Like you suggested, you will need some sort of field to indicate whether an account is paid, as well as when their account expires.
finkyfeke
Forum Newbie
Posts: 2
Joined: Fri Apr 20, 2007 7:29 pm

Thanks

Post by finkyfeke »

Thanks a lot, I'm giving it a go now. It might take a while so I'll get back to you if I find any other problems.
Post Reply