Closed (fixed)
Project:
Commerce Vantiv
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
30 Aug 2017 at 00:41 UTC
Updated:
18 Oct 2017 at 00:40 UTC
Jump to comment: Most recent
In the parent issue, we introduced support for environment variables for the secrets of vantiv gateway configurations. But in that initial implementation, we used a single set of global (for all Vantiv gateways) 'API' environment variables. In order to support multiple concurrent Vantiv payment gateway configurations, we need to look for environment variables keyed by the machine name of the gateway configurations.
Comments
Comment #3
bojanz commentedThe idea of this module implementing its own env variable support is very wrong.
Drupal has a generic mechanism for this, documented here: https://docs.drupalcommerce.org/commerce2/developer-guide/payments/overr...
The settings.php values can all be taken from $_ENV.
Comment #4
steveoliver commentedOf course! Thanks, @bojanz. I've opened a separate issue to change this implementation.