0

I'm trying to define the Stripe Keys based on what the current environment is set to, so I can use the test keys when in Dev and the live keys when not.

I dont seem to be able to define the keys using custom variables in the env file. Adding conditionals to the key fields in the setting also doesn't work.

Any solutions?

Not a big deal but seems handy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.