Solved

Credit Card Verification Algorithms

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Debugging step-by-step Jquery/Javascript 6 58
Javascript Hashmap output 8 46
how would you interpret lines 3 30
Angular - disable input field on page load 4 14
E-commerce is quite a gambling world, and you should never entrust your business to a lucky chance. In order to outrun your competitors in a race to attract as many customers as possible, you need to have a well thought-out strategy under your belt.…
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…

895 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

17 Experts available now in Live!

Get 1:1 Help Now