Credit Card Details
Validates credit card details by type
Description
Provides a validated field for credit card type and number, designed to be used ahead of payment submission.
Verifying card details before submission reduces the chance of fraudulent activity. It is also a prerequisite for many card processing authorities.
Credit card numbers are validated on a card-type basis. Validation checks for:
- Number length
- Number prefix(es)
- Modulus 10 check digit(s)
Supported credit card types:
- American Express
- Diners Club Carte Blanche
- Diners Club
- Discover
- Diners Club Enroute
- JCB
- Maestro
- MasterCard
- Solo
- Switch
- Visa
- Visa Electron
- LaserCard
Read the full readme on github.