March 8, 2006

Javascript credit card generator fix

Posted in Credit card at 21:40 by graham

There was a mistake in the Javascript credit card generator, meaning it would not work on MS Internet Explorer or Opera. This has now been fixed, and I have tested it successfully on:

  • Firefox 1.0.6
  • Konqueror 3.4.1
  • Internet Explorer 6.0
  • Opera 8.5.2

The archive now also includes an example on how to use the Javascript version (which seems the most popular).

Get it here


  1. Reasonable Anonymous said,

    October 25, 2011 at 18:43

    Searching the web for information about CC’s i came accros your site many times, but there is something i can’t really find, is it possible to generate the ccv if you have all of the other information from a card?

  2. FBI said,

    November 12, 2010 at 18:18

    Dear Website Owner, Hello you are being arrest for breaking the law you will be at court very soon even know the good thing is with the credit card numbers theres no exp data or secrity numbers !

  3. cake said,

    June 18, 2007 at 16:35

    Hi there,

    Many thanks on all this information on credit cards – very useful!

    I’m currently using the numbers from the credit card examples page as data for unit testing some credit card detection code (and also to pay off my school tuition fees, of course).

    According to wikipedia, some of the numbers you’ve got down for JCB (both 15 and 16 digit ccns) are incorrect. JCB apparently only uses prefixes 35, 1800 and 2131.

    Because they failed my unit tests, i did the only natural thing and removed the offending values from my input data

  4. jackie said,

    January 6, 2007 at 11:42

    yay guess what im now a member of club penguin cause of you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  5. jose said,

    October 13, 2006 at 17:25

    this site is useful

  6. G Hob said,

    August 28, 2006 at 02:14

    This site is really useful.

  7. Kaaze kwabena said,

    May 23, 2006 at 17:08

    this site is great

Leave a Comment

Note: Your comment will only appear on the site once I approve it manually. This can take a day or two. Thanks for taking the time to comment.