Issues

ZF-12337: Zend_Validate_CreditCard missing prefix for Diners Club

Issue Type: Bug Created: 2012-07-16T16:44:11.000+0000 Last Updated: 2013-01-18T13:32:38.000+0000 Status: Open Fix version(s): Reporter: Herman Radtke (hermanradtke) Assignee: None Tags: - Zend_Validate

Related issues: Attachments: - zf-12337.patch

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts