Came across this amazingly insight full post by Gabriel Tomescu on Credit card payment forms.
Gabriel has explained each aspect of a Credit card payment form in great detail. Right from showing what cards are accepted to designing for different screens.
Specially liked the Handling Card Errors section.
We have a credit card form for one of our clients and we know how tedious it is to get the error handling rite.
Also the card design that Gabriel has shown is really simple and elegant. User will have to enter minimum information.
So head over and and learn THE ANATOMY OF A CREDIT CARD PAYMENT FORM.
Amazing work Gabriel.