473,668 Members | 2,519 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Credit card validation

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?
--
Sandy
Nov 19 '05 #1
7 1822
TJS
google this :

asp.net credit card validation
"Sandy" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
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?
--
Sandy

Nov 19 '05 #2
Sandy wrote:
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?


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/Special...%23Specialized

Ben
Nov 19 '05 #3
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/cr...dvalidator.asp

HTH,

Hermit Dave
http://hdave.blogsot.com
"Sandy" wrote:
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?
--
Sandy

Nov 19 '05 #4
I use this validator:

http://www.codeproject.com/aspnet/cr...dvalidator.asp
"Sandy" <Sa***@discussi ons.microsoft.c om> skrev i melding
news:1F******** *************** ***********@mic rosoft.com...
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?
--
Sandy

Nov 19 '05 #5
A CreditCardNumbe rValidator 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: PL****@PeterBlu m.com
Creator of "Profession al Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Sandy" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
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?
--
Sandy

Nov 19 '05 #6
Thanks All!

--
Sandy

Nov 19 '05 #7
Here's some good links that can get you started:
http://www.componentone.com/paypal/
http://www.verisign.com/products-ser...ent/index.html
http://www.paypal.com/cgi-bin/webscr...rchant-outside

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sandy" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
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?
--
Sandy

Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1749
by: kaptain kernel | last post by:
I'm implementing a simple credit card number check on my website, in order to trap user errors. it doesn't validate with the bank, but validates against certain known rules (e.g. Amex always begins with xxxx) The scripts I've found work fine for Mastercard, Visa, Diner's Club and a few American only cards, but there's nothing on Google about European/UK cards like Solo, Switch and Maestro. Anyone aware of European oriented PHP credit...
10
4128
by: dries | last post by:
A friend of mine has a problem with his credit card validation routine and it is probably a simple thing to solve but I cannot find it. It has to do with the expiry dates. What happens is that as each month passes, that month is then not recognised as being valid, even though the year makes it still valid. i.e. the number of the month entered has to be bigger than the number of the current month. Therefor, if it is in august now 09/2005...
7
6996
by: gj | last post by:
I have an application in Access 97 I will be rewriting in the latest version of Access in 6 months. In the meantime, does anyone know of an ActiveX control I can add into an Access 97 form to allow the validation of Credit Card numbers and also processing of payments. Ta very muchly. GJ
6
10949
by: Grant | last post by:
Does any one know how to check the algorithm of the credit card number that was entered in the text box? I want to be able to make sure the users enter correct credit card number since we will process it manually via phone. I want this to be done on the server side behind the code in ASP.Net. Thanks
4
3669
by: Michelle A. | last post by:
I have a form that takes in a credit card number, just a series of numbers 1234123412341234. When they get to the "Review" page and display all the information a user has entered, I would like the number to be formatted in a XXXX-XXXX-XXXX-1234 type of format. Any good suggestions how to do this? Anyone out there use that credit card validation tool from to MS downloads for Visual Studio..? Easy..? Not worth the time?
3
2137
by: tshad | last post by:
I am looking to connect my asp.net pages to a credit card processor, such as ICVerify. I used to be able to read and write to a text file: credit card authorizations, cancelations, get responses from credit card processors etc. I want to completely automate the process and wanted to find out what is out there that I can use that is decent. Thanks,
1
7816
by: Bill D'Innocenzo | last post by:
There are many functions available that implement credit card identification and number validation -- meaning you can decide, based on the number, if a card is a MasterCard or Visa and if the number passes the Luhn Formula or MOD 10 algorithm for the checksum. What I'm looking for however is the scheme to determine is a card is a check or debit card versus a credit card. Anyone know if this can be done by examining the account number...
1
2960
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
4
16110
code green
by: code green | last post by:
Data Protection etc.... shouldn't be there. How do I find credit card numbers buried amongst any length of text. Googling finds credit card validation claims, which are too complicated. I need to find groups of numbers that resemble credit card numbers. I think the criteria is 13 - 24 digits in groups of 4 or 5 seperated by spaces or dashes or bunched together. It looks like a regex using PATINDEX is the answer but regex is black...
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8367
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8650
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2781
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.