[Valid_CreditCard] checks the format of an credit card number. If the parameter appears to be a valid credit card number then True is returned.
Credit card numbers entered into the tag should not have any spaces or punctuation.
This tag uses the ROT-13 algorithm to check the basic validity of a credit card number. It does not communicate with the bank network to check whether a given number is active or has credit available. Use your banking software to authorize credit card transactions.
This tag should return True for all valid credit card numbers from Visa/Mastercard/AmEx/Discover and major banks. It is intended as a first check for data entry and should not necessarily be used to deny purchases.
[Valid_CreditCard: 'Credit Card Number']
Use the [Valid_CreditCard] tag. The following example checks a fake credit card number and False is returned.
[Valid_CreditCard: '0000000000000000']
False
Tag Link | [Valid_CreditCard] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft