[
https://issues.apache.org/jira/browse/OFBIZ-9761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375521#comment-16375521 ]
Arun Patidar commented on OFBIZ-9761:
-------------------------------------
Committed changes in trunk at rev: 1825216
in 17.12 at rev: 1825217
There are some conflicts while applying the patch on 16.11 so will commit in 16.11 after resolving conflicts.
Thanks [~amit.gadaley] for your contribution and [~mbrohl] for reviewing and suggestions.
> 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: Arun Patidar
> Priority: Major
> Labels: backport-needed
> 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)