thorsten-stripe / ecommerce-gatsby-tutorial

A Gatsby eCommercer starter example
https://gatsby-ecommerce-stripe.netlify.com/
MIT License
88 stars 37 forks source link

Adding STRIPE_PUB_KEY #15

Closed joshuacox closed 4 years ago

joshuacox commented 4 years ago

So that the PUB is abstracted out of the code like the SECRET is and sourced from the environment.

This also fixes my issue #14

thorsten-stripe commented 4 years ago

Thanks @joshuacox! I just pushed a commit that moves all Stripe ids to the .env file 👍