manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
65 stars 32 forks source link

Stripe API keys from .env #84

Closed zhivkoangelov closed 1 year ago

zhivkoangelov commented 1 year ago

Hi,

Thanks for the great plugin. One disadvantage that I see is that Stripe API keys configuration is stored in the database along with all other settings. This makes it inconvenient to import-export settings between environments because API keys will be revealed in plain text. It would be great if API keys could be loaded (optionally) from .env variables. It's a minor change so I hope you will have it in mind.

Regards.

nishekh-e-r commented 1 year ago

@zhivkoangelov we are working on the issue will update you once we release new version.

nishekh-e-r commented 1 year ago

@zhivkoangelov We have removed the stripe secrets keys from the configuration, and now they are configured from .env variable. To install the new version strapi-stripe. Please try out the latest version and let us know what you think.