Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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
Silver

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.

New Member

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

569
Views
0
Helpful
2
Replies