This Applet will help you tell if a credit card number is valid. 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.
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.
The Applet is designed for cannibalising so that you can steal the code you need from it to include in your own programs.
The Credit Card Validator amanuensis is also available with Java source to download. You can optionally run Credit Card Validation Amanuensis as an application by invoking the com.mindprod.creditcard.ValidateCreditCard class.
On the Internet, approximately 70% of transactions are Visa, 27% are Mastercard and 3% are American Express.
| Package | Version | Released | Licence | Language | Notes | ||
|---|---|---|---|---|---|---|---|
Credit Card Validator |
1.8 | 2008-03-06 | free | Java |
summary
/ PAD description
/ screenshot
for the current version of Credit Card Validator.
Applet to validate credit card numbers and tell who issued the card.
download
Credit Card Validator source and compiled class files to run on your own machine as an application or Applet.
First install the most recent Java.
To install, extract the zip download with Winzip,
(or similar unzip utility) into any directory you please,
often J:\ — ticking off the
“user folder names” option.
To run as an application,type:
java -jar J:\com\mindprod\creditcard\creditcard.jar
adjusting as necessary to account for where the jar file is.
download ASP PAD XML program description for the current version of Credit Card Validator. Credit Card Validator is free.
Full source included.
You may even include the source code, modified or unmodified
in commercial programs that you write and distribute. Non-military use only. |
||
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | The information on this page is for non-military use only. | ||
| You are visitor number 24,531. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/applet/creditcard.html | J:\mindprod\applet\creditcard.html | ||