This is a very simple ASP implementation of the industry standard LUHN check for credit card validity.
Author: Simon Rafferty Code: ASP 3.0 & VBScript
|Dead Useful |
Written by Anonymous User (#1474-164) from Birmingham, England (Monday, June 17, 2002)
||Strengths: no comment
Weaknesses: no comment
Details: Users frequently mis-type credit card numbers. If you are not using on-line authorisation, perhaps just storing the details away so they can be processed manually, this can save a whole heap of effort trying to contact the client. We have seen a 4% increase in successful orders directly attributable to this code.