Click here to Skip to main content
15,891,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the code for Credit card no. validation in C#? Pin
OriginalGriff22-Dec-10 23:57
mveOriginalGriff22-Dec-10 23:57 
AnswerMy Vote of 1 Pin
Keith Barrow23-Dec-10 1:05
professionalKeith Barrow23-Dec-10 1:05 
GeneralRe: My Vote of 1 Pin
Pete O'Hanlon23-Dec-10 1:12
mvePete O'Hanlon23-Dec-10 1:12 
GeneralRe: My Vote of 1 Pin
Keith Barrow23-Dec-10 1:34
professionalKeith Barrow23-Dec-10 1:34 
GeneralRe: My Vote of 1 Pin
Pete O'Hanlon23-Dec-10 1:50
mvePete O'Hanlon23-Dec-10 1:50 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
PIEBALDconsult23-Dec-10 4:45
mvePIEBALDconsult23-Dec-10 4:45 
GeneralRe: What is the code for Credit card no. validation in C#? Pin
Cnu5555529-Dec-10 17:55
Cnu5555529-Dec-10 17:55 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
jschell23-Dec-10 7:05
jschell23-Dec-10 7:05 
Depends on what you mean by validate.

One of the other posts provide a link to do a simple check sum on the digits itself. This is a simple test that can be done in a GUI.

A number that passes that test still might not be a valid number in that numbers have certain rules related to the card type (such as Visa.) There are simple methods that one can use to validate those however the only correct way requires that one get the bin numbers from a valid processor and check them.

Of course a number is only valid if a processor accepts it. Doing that requires a lot of code and will be specific to each processor. Both of those make it pointless for anyone to post such solutions here.

And none of that has anything at all to do with securing ecommerce payment applications.
GeneralRe: What is the code for Credit card no. validation in C#? Pin
Cnu5555529-Dec-10 17:49
Cnu5555529-Dec-10 17:49 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
DaveyM6923-Dec-10 13:27
professionalDaveyM6923-Dec-10 13:27 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
Dr.Walt Fair, PE23-Dec-10 15:28
professionalDr.Walt Fair, PE23-Dec-10 15:28 
GeneralRe: What is the code for Credit card no. validation in C#? Pin
Cnu5555529-Dec-10 17:41
Cnu5555529-Dec-10 17:41 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
LloydA11126-Dec-10 4:54
LloydA11126-Dec-10 4:54 
AnswerRe: What is the code for Credit card no. validation in C#? Pin
Bernhard Hiller27-Dec-10 23:08
Bernhard Hiller27-Dec-10 23:08 
QuestionEnterprise Library V5 Logging Pin
Ray Cassick22-Dec-10 21:14
Ray Cassick22-Dec-10 21:14 
AnswerRe: Enterprise Library V5 Logging Pin
dan!sh 22-Dec-10 21:36
professional dan!sh 22-Dec-10 21:36 
GeneralRe: Enterprise Library V5 Logging Pin
Ray Cassick22-Dec-10 21:46
Ray Cassick22-Dec-10 21:46 
GeneralRe: Enterprise Library V5 Logging Pin
dan!sh 22-Dec-10 21:53
professional dan!sh 22-Dec-10 21:53 
GeneralRe: Enterprise Library V5 Logging Pin
Ray Cassick22-Dec-10 22:10
Ray Cassick22-Dec-10 22:10 
QuestionLooking at the remote desktop template, help with automating acknowledgement of the legal banner [modified] Pin
turbosupramk322-Dec-10 8:26
turbosupramk322-Dec-10 8:26 
AnswerRe: Looking at the remote desktop template, help with automating acknowledgement of the legal banner Pin
Richard MacCutchan22-Dec-10 8:59
mveRichard MacCutchan22-Dec-10 8:59 
AnswerRe: Looking at the remote desktop template, help with automating acknowledgement of the legal banner [modified] Pin
RaviRanjanKr22-Dec-10 17:39
professionalRaviRanjanKr22-Dec-10 17:39 
GeneralRe: Looking at the remote desktop template, help with automating acknowledgement of the legal banner Pin
turbosupramk323-Dec-10 0:16
turbosupramk323-Dec-10 0:16 
QuestionHow do I transfer files over a local network? Pin
Megidolaon22-Dec-10 7:12
Megidolaon22-Dec-10 7:12 
AnswerRe: How do I transfer files over a local network? PinPopular
Luc Pattyn22-Dec-10 8:54
sitebuilderLuc Pattyn22-Dec-10 8:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.