ZF-12337: Zend_Validate_CreditCard missing prefix for Diners Club
Description
The following example credit card is valid, but fails validation in Zend_Validate_CreditCard: 38520000023237
Specfically, Zend_Validate_CreditCard does not allow a prefix of '38'. The '38' prefix is a valid Diners Club prefix.
Sources: http://creditcardity.com/?number=38520000023237 http://www.beachnet.com/~hstiles/cardtype.html
Comments
Posted by Herman Radtke (hermanradtke) on 2012-07-16T16:48:54.000+0000
Patch to fix bug.