Click here to Skip to main content
15,878,543 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionweb Pin
csseyed3-May-12 2:17
csseyed3-May-12 2:17 
AnswerRe: web Pin
Richard MacCutchan3-May-12 6:56
mveRichard MacCutchan3-May-12 6:56 
AnswerRe: web Pin
R. Giskard Reventlov3-May-12 7:48
R. Giskard Reventlov3-May-12 7:48 
QuestionTLS compliant using .net Pin
padmanabhan N2-May-12 21:56
padmanabhan N2-May-12 21:56 
QuestionPlaying music on my end, using APIs of search engines Pin
Neha.prakash882-May-12 21:54
Neha.prakash882-May-12 21:54 
QuestionCredit Card Security Pin
indian1432-May-12 13:28
indian1432-May-12 13:28 
AnswerRe: Credit Card Security Pin
Joshua Omundson2-May-12 14:00
Joshua Omundson2-May-12 14:00 
AnswerRe: Credit Card Security Pin
s_magus2-May-12 15:57
s_magus2-May-12 15:57 
You can do the initial credit card validation client side with javascript if you want, but you also need to do the validation server side.

Credit Card Validation:
1. Credit Card Number - The credit card number can be validated using the Luhn algorithm[^].
2. Credit Card Number - You can also validate based on length and prefix if you only accept certain cards[^].
3. CVV - For most cards it is 3 digits, except American Express which is 4 digits
4. Expiration Date - Date must be greater than or equal to current month and year. Year can be either 2 or 4 digits depending on the Processor API. Month can be either 1 or 2 digits depending on the Processor API.

If you are sending the Credit Card information back to the server to process it with the CC Processor, then you need to make sure you are using SSL. Never send Credit Card information over the internet without using a secure connection.

Never store credit card information, there are a lot of rules that you need to follow to be PCI Compliant. You agree to be PCI Complaint just by signing up with a Credit Card Processor. The potential fees associated with violations are not worth it, and time required to be fully PCI Complaint. The safest thing to do is only store the TransactionId (or whatever you API calls it), usually that is all you need if later you need to do anything else like void, credit, etc with the Credit Card API. If you want to be able to store the card information so that the user does not have to re-enter the information again, then some Credit Card Processor offer a Customer Manager where they card information is stored on the credit card processors server which would be PCI Complaint. You would then store some sort of Id(s) returned by the Processor and pass those back to the Processor in the future when you want to make another transaction.
GeneralRe: Credit Card Security Pin
Abel Wike8-Aug-12 1:09
Abel Wike8-Aug-12 1:09 
AnswerRe: Credit Card Security Pin
jkirkerx2-May-12 16:29
professionaljkirkerx2-May-12 16:29 
GeneralRe: Credit Card Security Pin
indian1434-May-12 7:04
indian1434-May-12 7:04 
GeneralRe: Credit Card Security Pin
jkirkerx4-May-12 8:02
professionaljkirkerx4-May-12 8:02 
GeneralRe: Credit Card Security Pin
indian1434-May-12 11:34
indian1434-May-12 11:34 
QuestionUser control loses data on post back Pin
JD862-May-12 6:33
JD862-May-12 6:33 
AnswerRe: User control loses data on post back Pin
R. Giskard Reventlov2-May-12 7:16
R. Giskard Reventlov2-May-12 7:16 
QuestionLoginView Control Error Pin
MWRivera2-May-12 4:53
MWRivera2-May-12 4:53 
AnswerRe: LoginView Control Error Pin
Sandeep Mewara2-May-12 5:40
mveSandeep Mewara2-May-12 5:40 
GeneralRe: LoginView Control Error Pin
MWRivera2-May-12 7:10
MWRivera2-May-12 7:10 
GeneralRe: LoginView Control Error Pin
MWRivera2-May-12 7:24
MWRivera2-May-12 7:24 
AnswerRe: LoginView Control Error Pin
MWRivera3-May-12 6:33
MWRivera3-May-12 6:33 
GeneralRe: LoginView Control Error Pin
Sandeep Mewara4-May-12 4:05
mveSandeep Mewara4-May-12 4:05 
Questioncreate a forum in asp.net Pin
m.alagushankar2-May-12 0:57
m.alagushankar2-May-12 0:57 
AnswerRe: create a forum in asp.net Pin
egenis2-May-12 1:54
egenis2-May-12 1:54 
AnswerRe: create a forum in asp.net Pin
ZurdoDev2-May-12 4:54
professionalZurdoDev2-May-12 4:54 
AnswerRe: create a forum in asp.net Pin
Sandeep Mewara2-May-12 5:43
mveSandeep Mewara2-May-12 5:43 

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.