#conniehunt

1 messages · Page 1 of 1 (latest)

gusty martenBOT
frigid gazelle
#

HI
According to the error, you are making calls to Stripe API without secret key, you need to make sure that you are providing one during the calls. Check your env variables are well set.

errant sluice
#

env variables are set correctly i am able to log them

frigid gazelle
#

Are you facing this issue in all your environments (even your locale env ?)

errant sluice
#

There is no requests showing in the log relating to this issue.
If i add Authorization: Bearer YOUR_SECRET_KEY' to my header it causes my app to crash. I am unable to test in prod environment as cannot deploy

frigid gazelle
#

Are you getting this error in your local without using env vars ?

#

there must be an issue with your env variables.

errant sluice
#

No, i get the error from vercel when deploying.

#

do i need to be using the loadStripe somewhere in my app?

frigid gazelle
#

You need to debug that flow and make sure that the env vars (your Stripe Secret key is set)