mod 10 - Luhn algorithm for checking credit card numbers

Unanswered Question
Jul 18th, 2007

Does anyone know of a piece of code written for IPCC that will do a "mod 10" or "Luhn algorithm" check for a valid credit card number?

I have a customer that wants me to perform this check in the IVR script I'm building. I'm guessing someone has done this with a piece of java code inserted into a script at some point.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
didyap Tue, 07/24/2007 - 14:19

Luhn's algorithm (Mod 10 check) to verify the validity of the credit card number.

If you look at the pattern definitions screen, you'll find pre-loaded patterns for all major CC vendors.

Michael Gross Wed, 07/25/2007 - 06:25

Thank you for your reply. However, I am not exactly sure what you mean by the "pattern definitions screen". Is this screen in the CRS Editor or somewhere else on the server?

Could you clarify this for me so I can get a better understanding of how I can use this?


Mike Gross


This Discussion