Hi,
I just finished reading through Larry's excellent stripe.com tutorial. Though it works great, I did have one question. In his code, he doesn't allow spaces or dashes in the credit card number. Might it be more user friendly to strip out the spaces/dashes after the user submits the form in his submit function?
var ccNum = ccNum.replace(/-/g,"");
var ccNum = ccNum.replace(/ /g,"");
Or are there any pitfalls to this approach?
Thank you,
Eric