Yes, I think so. But maybe we could ask directly to Visa (in case there are
more of them); or have a look into their site ?
Jacques
From: "Raj Saini" <[EMAIL PROTECTED]>
I doubt Wikipedia information is complete. I have a Visa Electron
(debit) card and its first four digits are 4027. Should I also include
this in validation?
Thanks,
Raj
Scott Gray wrote:
Sounds good to me so I'll do you a deal, you provide the patch and I'll
commit it :-)
Regards
Scott
2008/5/30 Raj Saini <[EMAIL PROTECTED]>:
Hi Scot,
Thanks for the info. Current validation only support cards starting with
417550. Should we not change the validation to support other variations?
Thanks,
Raj
Scott Gray wrote:
Hi Raj
Wikipedia says it's these:
417500,4917,4913,4508,4844
http://en.wikipedia.org/wiki/Credit_card_numbers
Regards
Scott
2008/5/30 Raj Saini <[EMAIL PROTECTED]>:
Hi,
While integrating the payment gateway I found and issue with Visa
Electron
card validation. On line 1153 in UtilValidte.java Visa Electron cards,
number is validated as:
if ((cc.length() == 16) && (first6digs.equals("417500")))
Whereas the testing cards I have (also my real Visa Electron card) do not
have their first 6 digits as "417500". Has any one one else been to
similar
situation? Any idea what should be the right CC number pattern?
Thanks,
Raj