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
- Discuss the wording and where to link
- Implement
- Test
- Release
- (Eventually) backport to Drupal 7
User interface changes
API changes
Data model changes
Issue fork commerce_paypal-3322047
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:
Comments
Comment #2
anybody