Home | Training | Services | Free Stuff | Company | Customers | Forum | Contact

ccvalidate.js - Credit Card Number Validation Made Easy

"ccvalidate.js" is a ready-to-integrate script for performing credit card validation from a web page. Unlike other no-cost or low-cost credit card number validation routines, this script supports verification of card content (that is, digits only), card number type and length verification, as well as the traditional LUHN (check digit) check. The following card number types are supported:

  • American Express
  • Australian BankCard (Added 30 Jan 2006)
  • Discover
  • Delta (Updated 28 Jan 2006)
  • Diners Club
  • Enroute
  • JCB
  • MasterCard
  • Maestro (Updated 20 Jan 2006)
  • SOLO (Updated 20 Jan 2006)
  • Switch (Updated 05 Apr 2003)
  • VISA

To see the source code for the script, click here. To see the script in action, click here.

For more information, questions, comments, or suggestions, please click here to send an email to PSI.