CreditCard Validator PowerToy
This documentation contains instruction on how to:
The CreditCard control is based on two principles on which credit
cards adhere to, i.e. Luhn formula (or Luhn algorithm or mod 10
algorithm) and specific type of credit card has specific prefix and/or
length. You can find more information about these principles here.
Credit Card Validator control only
checks for three things, mentioned
below:
- Credit Card number is valid.
- Credit Card is not expired.
- Credit Card type is valid for the credit card number provided.
Important Note :
Passing the Luhn formula is only the first step. Matching specific card
criteria is the second. However, running a number through a credit card
server is the only real test, because that's when the validity of the
credit card account is actually verified.
This control only
perform checks to make sure the number is well formed, not expired and
credit card type is valid.