Wee Bubba
10-12-2006, 02:29 PM
i am developing an e-commerce website. i only want to allow a customer to log in to their account once their payment has been accepted. i want to do this to avoid people setting up spoof accounts on my database when they have no intention of paying.
i have 2 options regarding the setting up of a username and im not sure which is best. perhaps somebody can tell me.
1. let the user decide a username and password when filling in the form. then i could send them an email when the payment has been accepted re-stating their username and password they have chosen and saying they can now log in.
2. generate a username and password for them automatically. send this out in an email when the payment has been accepted and give them the option to change.
also is it safe for me to email the username and password to them once they have payed or am i opening myself up to problems? if so whats the best way for me to tackle this?
thanks!
i have 2 options regarding the setting up of a username and im not sure which is best. perhaps somebody can tell me.
1. let the user decide a username and password when filling in the form. then i could send them an email when the payment has been accepted re-stating their username and password they have chosen and saying they can now log in.
2. generate a username and password for them automatically. send this out in an email when the payment has been accepted and give them the option to change.
also is it safe for me to email the username and password to them once they have payed or am i opening myself up to problems? if so whats the best way for me to tackle this?
thanks!