Please make sure you select the correct card type:
American Express begins with a 3.
Visa begins with a 4.
Mastercard begins with a 5.
Diners Club begins with a 3 and the second digit must be a 0, 6, or 8.
Discover begins with a 6.
JCB cards begin with the following four digits: 3088, 3096, 3112, 3158, 3337