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

Customers in SaaS using Braintree are unable to add a billing address or edit credit card details

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined
    • Hide

      The Account Set Credit Card API endpoint from the 3scale API can be used to manually fill the required credit card / address fields with dummy values. This way the page loads correctly for that account.

      curl -X PUT "https://{admin_portal}/admin/api/accounts/{accountId}/credit_card.xml" -d 'access_token={ACCESS_TOKEN}&credit_card_token={creditCardToken}&credit_card_expiration_year={cardExpYear}&credit_card_expiration_month={cardExpMonth}&billing_address_name={addressName}&billing_address_address={address}&billing_address_city={addressCity}&billing_address_country={addressCountry}'
      
      Show
      The Account Set Credit Card API endpoint from the 3scale API can be used to manually fill the required credit card / address fields with dummy values. This way the page loads correctly for that account. curl -X PUT "https: //{admin_portal}/admin/api/accounts/{accountId}/credit_card.xml" -d 'access_token={ACCESS_TOKEN}&credit_card_token={creditCardToken}&credit_card_expiration_year={cardExpYear}&credit_card_expiration_month={cardExpMonth}&billing_address_name={addressName}&billing_address_address={address}&billing_address_city={addressCity}&billing_address_country={addressCountry}'

      Customers in SaaS using Braintree are unable to add a billing address or edit credit card details (when they have no billing address defined): when a user clicks on the Edit Credit Card Details link, the form is not rendered. Users who already have a billing address are not affected. The browser's console logs are attached.

      This could be due to this change which apparently makes some values in the billing address "required" in order to load /admin/account/braintree_blue/edit.
      Since Braintree has no validation on the current billing address in order to load the form, any Account that has no billing address will end up loading current_account.edit_braintree_blue_credit_card_details_url.
      Since the form requires a billing address to load, it's impossible for new Accounts to add the billing address for the first time.

      A customer confirmed that:
      1. This issue affects all of the Developer Accounts (they received multiple complaints from their customers and were able to replicate on a test account)
      2. The workaround suggested worked

              Unassigned Unassigned
              rhn-support-sillumin Samuele Illuminati (Inactive)
              Damian Peralta Damian Peralta (Inactive)
              Jakub Smolár Jakub Smolár
              Damian Peralta Damian Peralta (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: