![]() |
|
|
|
Credit Card Generator
Project Home • Contact Project
Author: Dan Vega (All RIAForge projects by this author) Description:
This project is used to produce credit card numbers for the 4 major types of credit cards (Visa|Mastercard|Discover|Amex). When you are working with applications that accept credit cards you need a way of testing them. I created a component that will let you call a method and pass it a type and it will return a number that you can use to test.
cfset ccgen = new CreditCardGenerator(); cfset visa_number = ccgen.generateNumber('visa'); The component is written in all cfscript so it is only compatible with ColdFusion 9 right now but if someone thinks it would be useful on an older version I can write another version. This is only used for testing though so you could just run this on your local development box.
Requirements:
ColdFusion 8/9+
|
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.