Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS
Having separate handles for Test and Live keys is counter to the way Craft and Craft Plugins are normally configured.
It would be more "native" to be able to use a single set of handles and then assign values based on the environment - after all, that's why Environment Variables exist.
Agreed, support for a plugin config file would be a nice way to manage settings with the use of ENV vars.
Is this something which would be supported @andrelopez
Having separate handles for Test and Live keys is counter to the way Craft and Craft Plugins are normally configured.
It would be more "native" to be able to use a single set of handles and then assign values based on the environment - after all, that's why Environment Variables exist.
For instance, instead of:
It would be possible to set
The values for those variables would be different depending on my environment so there's no need to use different different handles.
For extra merit, being able to set other configuration options from a file would also be very useful.
Finally, it would also be nice if it were possible to set this up in a separate config file,
stripe-payments.php
rather than thegeneral.php
config.