Last updated 2004-06-28 by Roedy
Green ©1996-2004 Canadian Mind Products
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 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.CreditCardValidate class.
On the Internet, approximately 70% of transactions are Visa, 27% are Mastercard and 3% are American Express.
This Applet requires one of the following up-to-date browsers:
No information will be sent over the web, either to CMP or to the credit card companies. You can verify this by looking at the source code.
home |
Canadian Mind Products | |||
| mindprod.com IP:[24.87.56.253] | ||||
| Your IP:[80.134.30.163] | ||||
| You are visitor number 8276. | ||||
| Please send errors, omissions and suggestions | ||||
| to improve this page to Roedy Green. | ||||
| You can get a fresh copy of this page from: | or possibly from your local J: drive mirror: | |||
| http://mindprod.com/creditcard.html | J:\mindprod\creditcard.html | |||