E-Commerce : JavaScript : Scripts and Programs : Credit Card Processing

LUHN10 (Credit Card) Validation

0.0/5 (0 votes cast)

A function that validates a credit card based on the LUHN10 algorithm. This function does not care if the number is a visa, mastercard, etc. etc. Pass the credit card number to the function, if it's valid true will be returned, if not, false will be returned.