Re: isCreditCard() and Mastercards?

2005-02-09 Thread Raymond Camden
I'll wait for you then Damien. Would you mind emailing me directly and NOT submitting to CFLib? That way I get more immidiate notification. Not that it takes me long to process queue items. Ahem. On Wed, 9 Feb 2005 12:04:03 -0500, Damien McKenna <[EMAIL PROTECTED]> wrote: > There's another UDF,

RE: isCreditCard() and Mastercards?

2005-02-09 Thread Damien McKenna
There's another UDF, CheckPattern(), which has basic syntax checking. It doesn't check the LUHN value though, its just a basic regex. I'm going to give that a try just to see if it can at least let Mastercards through, and then I'll work on fixing the isCreditCard() UDF. -- Damien McKenna - Web

RE: isCreditCard() and Mastercards?

2005-02-09 Thread Justin D. Scott
> I may be wrong but I think this is exactly what > the first part of IsCreditCard() does. Now that I actually read the description and look in more detail at the code, that is correct. --- Justin D. Scott Vice President Sceiron Interactive, Inc. www.sceiron.com

Re: isCreditCard() and Mastercards?

2005-02-09 Thread Nick de Voil
> If anyone is interested, I wrote a validation function based on the LUHN > formula to validate card numbers. I may be wrong but I think this is exactly what the first part of IsCreditCard() does. Nick ~| Discover CFTicket -

Re: isCreditCard() and Mastercards?

2005-02-09 Thread Raymond Camden
Justin, I'll try to get this in today. On Wed, 9 Feb 2005 11:03:52 -0500, Justin D. Scott <[EMAIL PROTECTED]> wrote: > > It did work for Mastercard when I wrote it, but that > > was during the CF5 beta, so maybe their format has > > changed? I must admit I haven't used it for years. > > If anyo

RE: isCreditCard() and Mastercards?

2005-02-09 Thread Justin D. Scott
> It did work for Mastercard when I wrote it, but that > was during the CF5 beta, so maybe their format has > changed? I must admit I haven't used it for years. If anyone is interested, I wrote a validation function based on the LUHN formula to validate card numbers. This can be added to the exis

Re: isCreditCard() and Mastercards?

2005-02-09 Thread Nick de Voil
> Has anyone noticed that the isCreditCard fuction from cflib.org > (http://www.cflib.org/udf.cfm?ID=49) doesn't work with Mastercards? > Guess I need to double-check its validation routines. It did work for Mastercard when I wrote it, but that was during the CF5 beta, so maybe their format has ch

isCreditCard() and Mastercards?

2005-02-09 Thread Damien McKenna
Has anyone noticed that the isCreditCard fuction from cflib.org (http://www.cflib.org/udf.cfm?ID=49) doesn't work with Mastercards? Guess I need to double-check its validation routines. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://ww