Solved

Credit Card Verification Algorithms

Posted on 2004-08-12
2
587 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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…

791 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