So I have a subscription form where a user is simultaneously creating a new account plus subscribing to a monthly plan.
So they're entering username, email, password, and all the usual credit card/billing info.
But the problem I'm having is say they accidentally enter an incorrect credit card number...what's the best way to handle that?
I need to create the user account first so I can have a database row ID (for the third-party billing service), but since I have all of that handled in one swoop in my create
method, if the user corrects their card info and re-submits, it tells them the account already exists (since the user account was actually already created).
So, question here is how would you handle this? Would you take them to an error page that's only the billing data? Or what else? Not sure what the best way to handle this is...