CreditCardValidator
Determine the brand of a credit card number. Supports American Express (AM), Discover (DS), Diners Club (DC), Mastercard (MC) and VISA (VI). Allows you to dynamically limit the accepted card types. For example, if your business only accepts Mastercard and Visa you can limit the valid cards to those types.
Prerequisites
- ersocon/creditcard-validation
Examples
See test modules for examples.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository
License
This project is licensed under the BSD 3-clause "New" or "Revised" license - see the LICENSE.md file for details.
Contributors
- Subrata Das - Initial work - sd0s