You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thank you for sharing this with the community.
I was running into issues when I deployed this my Gatsby site with Stripe warning that Publishable Key had not been set. I rechecked the .env file and it was set there.
I then tried adding stripeKey prop in the getConfig method in StripeCheckout.js. This seems to have done the trick when I tested locally with Stripe test key. However, fails when I deploy live. I would like to submit a new Pull request for you to update the reference in getConfig to include prop stripeKey.
The text was updated successfully, but these errors were encountered:
Hi! Thank you for sharing this with the community.
I was running into issues when I deployed this my Gatsby site with Stripe warning that Publishable Key had not been set. I rechecked the .env file and it was set there.
I then tried adding stripeKey prop in the getConfig method in StripeCheckout.js. This seems to have done the trick when I tested locally with Stripe test key. However, fails when I deploy live. I would like to submit a new Pull request for you to update the reference in getConfig to include prop stripeKey.
The text was updated successfully, but these errors were encountered: