commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Springer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-426) Support MasterCards with new 2 Series BIN
Date Mon, 05 Jun 2017 17:21:04 GMT

    [ https://issues.apache.org/jira/browse/VALIDATOR-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037237#comment-16037237
] 

Ian Springer commented on VALIDATOR-426:
----------------------------------------

Thanks. 

Fyi, I checked the HEAD source before filing this issue. I thought the 2-Series BIN was not
implemented yet, because I looked at http://svn.apache.org/viewvc/commons/proper/validator/tags/VALIDATOR_1_6/src/main/java/org/apache/commons/validator/CreditCardValidator.java?view=markup,
rather than http://svn.apache.org/viewvc/commons/proper/validator/tags/VALIDATOR_1_6/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java?view=markup
(note, the difference in packages). The validator classes under org.apache.commons.validator
appear to be older non-maintained versions of the validator classes in org.apache.commons.validator.routines.
I now see they are marked as deprecated, but that is easy to miss for someone like me who
is not a committer. If it is not possible to delete these deprecated classes, I would suggest
refactoring them to delegate to the new validator classes, to eliminate the duplicate and
outdated validation code.


> Support MasterCards with new 2 Series BIN
> -----------------------------------------
>
>                 Key: VALIDATOR-426
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-426
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: CreditCard
>    Affects Versions: 1.6
>            Reporter: Ian Springer
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The BIN Range is 222100-272099 and went into effect as of June 2017.
> See http://www.merchantlink.com/ready-mastercard-2-series-bin/.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message