I want to set up a website where my site will have user accounts for paying customers.(pay for subscription and then get user account) Preferably, i want the user accounts to end as at the end of the time period they paid for (either month or year, with options to renew). I need a script to set up useraccounts, some form of payment collection (cc and paypal as the two options), and a way to retrieve data from forms which each user can fill out.

I have almost no idea where to start on this so if anyone could help me I would appreciate it.