You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Raj Vaida (JIRA)" <ji...@apache.org> on 2016/11/03 23:16:58 UTC
[jira] [Commented] (VALIDATOR-408) Please fix DISCOVER Card
Validation Patterns
[ https://issues.apache.org/jira/browse/VALIDATOR-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634625#comment-15634625 ]
Raj Vaida commented on VALIDATOR-408:
-------------------------------------
Following Change in CreditCardValidator.java should fix it.
{code:title=CreditCardValidator.java|borderStyle=solid}
private static final RegexValidator DISCOVER_REGEX = new RegexValidator(new String[] {"^(6011\\d{12})$", "^(64[4-9]\\d{13})$", "^(62[2-8]\\d{13})$", "^(65\\d{14})$"});
{code}
> Please fix DISCOVER Card Validation Patterns
> --------------------------------------------
>
> Key: VALIDATOR-408
> URL: https://issues.apache.org/jira/browse/VALIDATOR-408
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.5.1
> Reporter: Raj Vaida
> Fix For: 1.5.2
>
>
> Hello
> Discover has started issuing cards with following bin ranges with 16 digits.
> 62212600 62292599
> 62400000 62699999
> 62820000 62889999
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)