Credit Card Validation - An Over View

Credit Card Validation - An Over View

Nowadays, Online Payment Processing is the main part of Web Programming regardless of the Programming language in which the application is been created.

The Payment Processing can be done by using the Payment GateWays. The Payment GateWays widely used are as following:

1. Paypal.
2. Google Checkout
3. Link Point
4. SecPay
5. E-Bullion.

All these Payment GateWays includes the CreditCard or Debit Card as their main processing unit.

They Validate the CreditCard Numbers and then the Payment Processing is done.

Usually we get the CreditCardNumbers in our application page and forward the details to these Gateways.

However these GateWays have their Own Way of Validating the Credit Card and Details. In Our application we need to Validate them to save in our Database Table for later verification.

The Credit Card Numbers can be of 4 Major Widely Used Types. There are more Types of Credit Cards Available. Listed down are major used Credit Card Types.

1. AMEX
2. VISA
3. MASTERCARD
5. DISCOVER.

Credit Card Numbers are special case of ISO 7812 numbers.

All these CreditCards have the CreditCardNumber and the Number of Digits in them varying from each other.

They are

AMEX - American Express - have 15 Digits.

MasterCard - have 16 Digits

Visa - have 13 or 16 Digits

Discover Card - have 16 Digits.

All the Credit Card are Validated using an Algorithm. Luhn Algorithm.

See the below WikiPedia Link to Know more about Credit Cards

Credit Card numbers - Wikipedia

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.