ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9761) Update regex used for validating credit cards
Date Sat, 24 Feb 2018 09:13:00 GMT

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

Michael Brohl commented on OFBIZ-9761:
--------------------------------------

Hi [~amit.gadaley],

the new patch still contains the pattern <variable>.equals(<contstant>) instead
of <contstant>.equals(<variable>). Can you please fix this?

> Update regex used for validating credit cards 
> ----------------------------------------------
>
>                 Key: OFBIZ-9761
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9761
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Amit Gadaley
>            Assignee: Amit Gadaley
>            Priority: Major
>             Fix For: Trunk
>
>         Attachments: OFBIZ-9761.patch
>
>
> Update regex used for validating credit cards:
> MasterCard numbers either start with the numbers 51 through 55 or with the numbers 2221
through 2720. All have 16 digits.
> Discover card numbers begin with 6011 or 65. All have 16 digits.
> JCB cards beginning with 2131 or 1800 have 15 digits. JCB cards beginning with 35 have
16 digits.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message