Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe API keys are hard-coded #2

Closed
auchenberg opened this issue Feb 12, 2020 · 1 comment
Closed

Stripe API keys are hard-coded #2

auchenberg opened this issue Feb 12, 2020 · 1 comment

Comments

@auchenberg
Copy link

const stripePromise = loadStripe("pk_test_DvXwcKnVaaZUpWJIbh9cjgZr00IjIAjZAA")

Expected:
Keys to be loaded from a secure place.

@kefimochi
Copy link

Agreed! You can create a .env file, add it to gitignore & import all important keys securely from there 🙂

@dabit3 dabit3 closed this as completed Jan 6, 2021
cinaaaa pushed a commit to cinaaaa/jamstack-ecommerce that referenced this issue Mar 6, 2023
…egories-pages

added backend for index/home and categories pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants