Solved

Credit Card Verification Algorithms

Posted on 2004-08-12
2
580 Views
Last Modified: 2013-11-18
Does anyone use Credit Card Verification Algorithms?

Our e-commerce site sends the customer onto a merchant account where the payment transaction is processed correctly but I wanted to put in some checks at entry level as currently the website will pass you to the merchant even if you enter 123 as the credit card number.

I have heard that Credit Card Verification Algorithms are quite troublesome as they could reject a customer who is using a legitimate card number.  Does anyone out there use them and do you have a troublefree time with them?

I am coding in ASP by the way.
0
Comment
Question by:tingleweb
2 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 250 total points
ID: 11784942
Here's a page that discusses credit card numbers.  
http://www.merriampark.com/anatomycc.htm

You could implement a limited version of verification, just checking that there are only numbers entered, and possibly run the Luhn algorithm for the check digit.  Depending on which cards you accept, you could also check the length and the leading digits.
0
 
LVL 7

Assisted Solution

by:mark-b
mark-b earned 250 total points
ID: 11788521
Here is one for Javascript:

http://www.evolt.org/article/rating/17/24700/

-Mark
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now