Hi all i am looking for anyone who maybe able to help with either an example or a good tutorial.
What i want to do is charge x amount for a user to have an account.
[list]
how i thought this would work would be something like:-
[ul][li]a user will fill in a form with appropriate information e.g username password etc.[/li]
[li]upon submitting the form the information will be stored as session variables and the user forwarded or promted for payment via Paypal[/li]
[li]once the payment has been confirmed the information stored as session variables will be saved to the database[/li][/ul]
or
[ul][li]
a user fills in a form
[/li]
[li]
upon submitting the form the information will be stored in the database but marked as not paid
[/li]
[li]
the user will then be prompted for payment using Paypal
[/li]
[li]
if the payment is successful the database will be updated from not paid to paid
[/li][/ul]
any suggested tutorial or help will be gratefully received.