[jira] [Resolved] (OFBIZ-9761) Update regex used for validating credit cards

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (OFBIZ-9761) Update regex used for validating credit cards

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Khurana resolved OFBIZ-9761.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Trunk)
                   Release Branch 16.11
                   Release Branch 17.12

> 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: Suraj Khurana
>            Priority: Major
>              Labels: backport-needed
>             Fix For: Release Branch 17.12, Release Branch 16.11
>
>         Attachments: OFBIZ-9761-16.11.patch, 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)