Skip to content

paulschreiber/validates_credit_card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidatesCreditCard
===================

Copyright (c) 2008 Stefan Natchev
Originally found at http://code.google.com/p/validates-credit-card/

Modifications by Paul Schreiber (http://paulschreiber.com/)
- can now pass :if and :unless to validators
- added method to detect card type based on card number (card_type_from_number)
- added list of card prefixes from "Credit card validation extension for jQuery Validation plugin"
	by Jack Killpatrick
	http://www.ihwy.com/labs/jquery-validate-credit-card-extension.aspx
	which is an enhancment of work by John Gardner
	http://www.braemoor.co.uk/software/creditcard.shtml

Last modified 15 September 2010

About

rails validation plugin. validates credit card numbers (via checksum).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages