Home > Web Development > Java and JavaScript

Credit Card Validator


Canadian Mind Products
Freeware
1.8
$0.00
3/6/2008
0.52MB
1
Java, Linux, Apple MAC, Unix, Windows
Home Page
Download
Buy Now


The CreditCard Validator will help you tell:
1. if a credit card number is valid,
2. which credit card vendor handles that number.

It is a simple Applet to demonstrate the use of the ValidateCreditCard class.

It validates the prefix and the checkdigit. It does *not* contact the credit card company to ensure that number has actually been issued and that the account is in good standing.

It will also tell you which of the following credit card companies issued the card: Amex, Diners Club, Carte Blanche, Discover, enRoute, JCB, MasterCard or Visa.

ATM cards use a different secret scheme which this program does not handle. Unfortunately, there is not even a reliable way to tell an ATM card from a credit card just by the number.

It is primarily designed to be included in your own Java program, though it can be used standalone or as an Applet.

To install, Extract the zip download with WinZip, available from winzip.com (or similar unzip utility) into any directory you please, often C:\ -- ticking off the (user folder names) option. To run as an application, type:

java.exe -jar C:\com\mindprod\creditcard\creditcard.jar

adjusting as necessary to account for where the jar file is.

You must have Java version 1.1 or later installed to use this package.
See mindprod.com/jgloss/installingjava.html for details.