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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1 GA
    • SaaS
    • System
    • None

      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'.

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

                Created:
                Updated:
                Resolved: