cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1083
Views
0
Helpful
2
Replies

mod 10 - Luhn algorithm for checking credit card numbers

Michael Gross
Level 1
Level 1

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.

Thanks,

Mike

2 Replies 2

didyap
Level 6
Level 6

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.

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?

Thanks,

Mike Gross

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: