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

Payment gateway integration with Stripe fails when API keys are longer than n chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • SaaS, 2.9.1 GA
    • System
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined
    • Workaround Exists
    • Hide

      Manually charge the invoice from the Stripe Dashboard

      Show
      Manually charge the invoice from the Stripe Dashboard
    • Hide
      • Create a new Stripe account or roll existing keys (generated before March 2019) on an existing Stripe account
      • Add keys to the 3scale payment gateway provider configuration form and save
      • Add a test card through the developer portal
      • Create an invoice in the admin portal for this developer account and add line item with a value
      • Try to charge the invoice
      Show
      Create a new Stripe account or roll existing keys (generated before March 2019) on an existing Stripe account Add keys to the 3scale payment gateway provider configuration form and save Add a test card through the developer portal Create an invoice in the admin portal for this developer account and add line item with a value Try to charge the invoice

      Stripe started generating API keys up to 255 chars since March 2019 and this is causing new integrations or old integrations with rolled keys to fail.

      Current behaviour

      Add new stripe API keys to the payment gateway configuration and save. Try to charge an invoice using the new keys fails with error message Invalid API key provided.

      Expected behaviour

      Add new stripe API keys to the payment gateway configuration and save. Try to charge an invoice using the new keys results in Invoice charged success!

              Unassigned Unassigned
              rhn-support-keprice Kevin Price
              Jakub Smolár Jakub Smolár
              Marta Noya Marta Noya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: