Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9761

Update regex used for validating credit cards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • None

    Description

      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.

      Attachments

        1. OFBIZ-9761-16.11.patch
          4 kB
          Amit Gadaley
        2. OFBIZ-9761.patch
          4 kB
          Amit Gadaley

        Activity

          People

            surajk Suraj Khurana
            amit.gadaley Amit Gadaley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: