Problem while validating Maestro Cards

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem while validating Maestro Cards

Ajey.bitin
Hi,

I'm trying to validate Maestro cards in OFBiz. As so many validation criteria are already given in UtilValidate.java, base on that I need to setup the validation for these cards. I'm not getting any information about the card number validation pattern on which I can continue my implementation. The card validating pattern available on net are mostly of Visa, Mastercard, Amex etc. Also, when i matched them with few cards, they do not seem to be reliable.

I need the card number validation method for Maestro. Any help is highly appreciated.

Thanks,

Ajey
Reply | Threaded
Open this post in threaded view
|

Re: Problem while validating Maestro Cards

BJ Freeman
here is a js that does it
http://www.precisonline.com/ccvalidate.js.html


Ajey.bitin sent the following on 8/5/2008 11:11 PM:

> Hi,
>
> I'm trying to validate Maestro cards in OFBiz. As so many validation
> criteria are already given in UtilValidate.java, base on that I need to
> setup the validation for these cards. I'm not getting any information about
> the card number validation pattern on which I can continue my
> implementation. The card validating pattern available on net are mostly of
> Visa, Mastercard, Amex etc. Also, when i matched them with few cards, they
> do not seem to be reliable.
>
> I need the card number validation method for Maestro. Any help is highly
> appreciated.
>
> Thanks,
>
> Ajey