Hacker News new | past | comments | ask | show | jobs | submit login

Judging from the screenshots with filled inputs, they automatically add spaces making the card number look exactly like it is on the physical card.

https://medium2.global.ssl.fastly.net/max/800/1*QzxyS4KGIvCw...




The live demo linked flat the end of the blog post makes a feeble attempt to insert a space after the first 4 digits, but ultimately fails (on Firefox 38 on Windows).


Probably because you didn't enter a valid card number. Try something that starts with '42' (for a Visa card). It works for me with a valid number.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: