fuentesloic / nuxt-stripe

MIT License
90 stars 8 forks source link

feat: get Stripe keys from environment file #12

Closed mitjans closed 1 year ago

mitjans commented 1 year ago

Types of changes

Description

By default, get Stripe keys from .env file. This allows us to set Stripe production keys in environment variables when running the application, while the nuxt.config.ts file will only contain test keys (sk_test and pk_test).

Checklist:

fuentesloic commented 1 year ago

@mitjans can you update the readme as well please 🙏 thanks a lot! it's a great addition! 🚀

mitjans commented 1 year ago

Done! Let me know if you'd change anything :)