i'm working on a site that requires users who register to validate their email address by clicking a link in an email that we send to them. two good reasons for doing so:
1) prevent unlimited account creation by hackers and bad guys
2) make sure email addresses are real.
if a user is going to buy something, WE DON'T CARE.
now here's the trick...anybody can put items in a shopping cart and check out. when they're checking out, they eventually get to a page where they must either login to an existing account or register. login is no problem.
if they must register, i'd like to skip the email validation step but am having a hard time deciding how to make sure they're going to buy something before i cut them any slack in the registration procedure. can anyone recommend some reasonable process or criteria i can check to give someone a pass without losing the 2 benefits above?
it occurred to me there are several things i can check
i) is anything in their shopping cart?
ii) maybe set something in the session if they've been clicking the checkout buttons?
iii) check the referrer page (although this probably isn't reliable for all browsers).
it also occurred to me that i could log the user in at registration and force them to validate their email address before loggin in again but this seems like a good way to get complaints from customers who provided bogus email addresses.
if anyone has dealt with this problem i'd appreciate some advice.