OK, so forget me :o)

Jacques

From: "Raj Saini" <[EMAIL PROTECTED]>
Thanks Scott, I will do this.

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










Reply via email to