Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Maestro detection improvements in Zend\Validator\CreditCard #4300

Merged
merged 1 commit into from

2 participants

@Fivell

missed maestro prefixes were added

@weierophinney weierophinney merged commit 532733d into from
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4300' into develop
Close #4300
6a0af14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  library/Zend/Validator/CreditCard.php
View
3  library/Zend/Validator/CreditCard.php
@@ -110,7 +110,8 @@ class CreditCard extends AbstractValidator
'649', '65'),
self::JCB => array('3528', '3529', '353', '354', '355', '356', '357', '358'),
self::LASER => array('6304', '6706', '6771', '6709'),
- self::MAESTRO => array('5018', '5020', '5038', '6304', '6759', '6761', '6763'),
+ self::MAESTRO => array('5018', '5020', '5038', '6304', '6759', '6761', '6762', '6763',
+ '6764', '6765', '6766'),
self::MASTERCARD => array('51', '52', '53', '54', '55'),
self::SOLO => array('6334', '6767'),
self::UNIONPAY => array('622126', '622127', '622128', '622129', '62213', '62214',
Something went wrong with that request. Please try again.