Let guests pay an upgrade?
What could be the best strategy to let a guest pay an upgrade?
a) we send the visitor to paypal & co, wait for the answer, add an user, do an upgrade?
b) we add a user, send the visitor to paypal, wait for an answer, do the upgrade or delete the user?
a) seems to make more sense, but maybe b) is less work to do because it maybe needs only something like:
function send to paypal
=> extend to make an user
go on like normal with this user
=> answer from paypal
do upgrade
=> extend to tell the visitor his new data like username (=id), password = random, and a link to change his username.
or delete user.
What could be the best strategy to let a guest pay an upgrade?
a) we send the visitor to paypal & co, wait for the answer, add an user, do an upgrade?
b) we add a user, send the visitor to paypal, wait for an answer, do the upgrade or delete the user?
a) seems to make more sense, but maybe b) is less work to do because it maybe needs only something like:
function send to paypal
=> extend to make an user
go on like normal with this user
=> answer from paypal
do upgrade
=> extend to tell the visitor his new data like username (=id), password = random, and a link to change his username.
or delete user.