cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
678
Views
0
Helpful
2
Replies
Highlighted
Beginner

mod 10 - Luhn algorithm for checking credit card numbers

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
Frequent Contributor

Re: mod 10 - Luhn algorithm for checking credit card numbers

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.

Beginner

Re: mod 10 - Luhn algorithm for checking credit card numbers

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

CreatePlease to create content
Ask the Expert- MPLS troubleshooting