For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2004 > RE : Module to validate credit cards









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE : Module to validate credit cards
Jose Nyimi

2004-05-18, 5:31 pm



> -----Message d'origine-----
> De=A0: Mike Blezien [mailto:mickalo@frontiernet.net]
> Envoy=E9=A0: mardi 18 mai 2004 21:32
> =C0=A0: Perl List
> Objet=A0: Module to validate credit cards
>=20
> Hello,
>=20
> can someone recommend a decent perl module or a reliabe routine to

check
> credit
> cards and expiration dates formats... not to actual check if the card

is
> valid,
> stolen,... etc, but just the format for the common cards used today.


I discovered Business::CreditCard
http://search.cpan.org/~ivan/Busine...7/CreditCard.pm

while reading this article from perl.com
http://www.perl.com/lpt/a/2004/04/29/maypole.html

Check if it's what you want.

HTH,

Jos=E9.



Mike Blezien

2004-05-18, 5:31 pm

Thx's, I'll check it out.

Mike

Jose Nyimi wrote:
>
>
> check
>
>
> is
>
>
>
> I discovered Business::CreditCard
> http://search.cpan.org/~ivan/Busine...7/CreditCard.pm
>
> while reading this article from perl.com
> http://www.perl.com/lpt/a/2004/04/29/maypole.html
>
> Check if it's what you want.
>
> HTH,
>
> José.


Owen

2004-05-18, 6:30 pm

On Tue, 18 May 2004 22:07:16 +0200
"Jose Nyimi" <josenyimi@skynet.be> wrote:

> I discovered Business::CreditCard
> http://search.cpan.org/~ivan/Busine...7/CreditCard.pm


That's a fine module, but you might want to have a separate list of dummy numbers that are valid but used for test purposes only.
4111 1111 1111 1111 is one that comes to mind.



--
Owen

----------------------------------------------------------------
__0 http://www.pcug.org.au/~rcook/rr.html for rides
_ \<,_
(_)./(_) http://weather.smh.com.au/weather/canberra.html
---------------------------------------------------------------

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com