Groups | Blog | Home
all groups > asp.net > may 2005 >

asp.net : Credit card validation



Sandy
5/12/2005 9:50:05 PM
I need a credit card validator. Is there reliable code already written that
anyone knows of? I have come across a few things; i.e. the Luhn-10
algorithm, but don't know if that still applies or is obsolete and
additionally, how would I incorporate it into a vb.Net app?

Does anyone have helpful links?
--
TJS
5/12/2005 11:08:10 PM
google this :

asp.net credit card validation


[quoted text, click to view]

Ben Amada
5/12/2005 11:43:10 PM
[quoted text, click to view]

Luhn formula still works. Here's a javascript implementation of Luhn:

http://www.brainjar.com/js/validation/default2.asp

You can somehow incorporate it into an ASP.NET page yourself, or you could
use a 3rd party validator that does credit card validation like this one:

http://www.peterblum.com/VAM/SpecializedValidators.aspx?ReturnUrl=Home.aspx%23Specialized

Ben

Hermit Dave
5/13/2005 2:10:09 AM
Sandy,

Have a look at this article. It contains a demo code and an asp.net control
which does basic validation
http://www.codeproject.com/aspnet/creditcardvalidator.asp

HTH,

Hermit Dave
http://hdave.blogsot.com


[quoted text, click to view]
Sandy
5/13/2005 9:40:09 AM
Thanks All!

--
Steve C. Orr [MVP, MCSD]
5/13/2005 9:43:29 AM
Here's some good links that can get you started:
http://www.componentone.com/paypal/
http://www.verisign.com/products-services/payment-processing/online-payment/index.html
http://www.paypal.com/cgi-bin/webscr?cmd=_merchant-outside

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


[quoted text, click to view]

Peter Blum
5/13/2005 11:09:01 AM
A CreditCardNumberValidator is one of the 25 validators in my Professional
Validation And More (http://www.peterblum.com/vam/home.aspx). Its fully
tested, supports client-side validation (on many more browsers than the
ordinary Microsoft validators), and allows customizing the list of credit
card brands.

--- Peter Blum
www.PeterBlum.com
Email: PLBlum@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

[quoted text, click to view]

Eirik Eldorsen
5/13/2005 11:22:40 AM
I use this validator:

http://www.codeproject.com/aspnet/creditcardvalidator.asp


"Sandy" <Sandy@discussions.microsoft.com> skrev i melding
news:1F55D7A8-AD10-46EF-8B53-FC41AD794630@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button