Problem/Motivation

In #3321915: [8.x] Allow to store live and sandbox credentials for easy switching @jsacksick made an important comment:

We usually don't recommend storing plain credentials in the database... Often times credentials are set from either settings.php or via the https://www.drupal.org/project/key module.

(https://www.drupal.org/project/commerce_paypal/issues/3321915#comment-14...)

Still, this information isn't yet present in the UI, where the user enters the PayPal API credentials.

Steps to reproduce

View the PayPal submodule payment configuration form where the Client Code and secret are entered. There's no such information
Furthermore the

Proposed resolution

Add a description with a link to the documentation (README.md?) how to store credentials safely instead of the database, (leaving the form empty).

Remaining tasks

  1. Discuss the wording and where to link
  2. Implement
  3. Test
  4. Release
  5. (Eventually) backport to Drupal 7

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3322047-in-the-ui Comparecompare

Comments

Anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes

Grevil made their first commit to this issue’s fork.