You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "required key" check in \CommerceGuys\AuthNet\Configuration::__construct() enforces valid credentials - that makes sense.
On my Drupal site, I'd like to configure these values through settings.php + environment varialbe, and removing them from my config set, so that the sensitive info doesn't go into VCS.
Unfortunately, authnet will not allow this, throwing an InvalidArgumentException during config import.
What is the suggested workaround?
Is this fixable with existing code, or does this require a patch?
The text was updated successfully, but these errors were encountered:
In some circumstances, it's easy enough to set dummy values in the config, but in others, such as when using the Key module and key_overrides and letting the module set the config values to NULL, it does cause a problem when importing. Another feature that would be nice would be to have the API keys on a separate form so that you can actually change other settings on the form.
The "required key" check in
\CommerceGuys\AuthNet\Configuration::__construct()
enforces valid credentials - that makes sense.On my Drupal site, I'd like to configure these values through settings.php + environment varialbe, and removing them from my config set, so that the sensitive info doesn't go into VCS.
Unfortunately, authnet will not allow this, throwing an
InvalidArgumentException
during config import.What is the suggested workaround?
Is this fixable with existing code, or does this require a patch?
The text was updated successfully, but these errors were encountered: