0
Credit Card Validation Script
Participant
,
/t5/coldfusion-discussions/credit-card-validation-script/td-p/875827
Oct 08, 2008
Oct 08, 2008
Copy link to clipboard
Copied
Can anyone suggest a way to validate the credit card number?
How to use it in coldfusion?
Thanks!!!
Thanks!!!
TOPICS
Advanced techniques
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/coldfusion-discussions/credit-card-validation-script/m-p/875828#M80780
Oct 08, 2008
Oct 08, 2008
Copy link to clipboard
Copied
Below is an example of code that makes use of the automatic
credit card validation in Coldfusion. My guess is that Coldfusion
uses the Luhn algorithm. If you feel like doing the Luhn validation
yourself, then there are lots of resources on the web to assist
you, especially
the Wikipedia on
Luhn.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
LATEST
/t5/coldfusion-discussions/credit-card-validation-script/m-p/875829#M80781
Oct 20, 2008
Oct 20, 2008
Copy link to clipboard
Copied
If your question is how to determine the card type, there is
a CF_TestCardNumber tag in the exchange area.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

