Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-330

Credit card expiry year saved with leading 0s when 2-digit value input through the API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: SaaS
    • Fix Version/s: 2.1 GA
    • Component/s: System
    • Labels:
      None

      Description

      Whenever we set credit card details through the API, and input a 2-digit expiration year (as instructed by the docs), the year end up with leading zeros stored in the database – i.e. 00XX instead of 20XX.

      For example, if we input '18' for the year and '08' for the month, the credit card expiration year saved to the database will be 'Mon, 01 Aug 0018'.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mcassola Guilherme Cassolato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: