#elpupper

1 messages · Page 1 of 1 (latest)

uneven obsidianBOT
sudden canopy
#

I used the stripe CLI to test locally

#

worked fine

#

pushed it to prod to test it there

#

and it didnt work

heady pasture
#

This error is only in production not in local test
You should use the webhook secret in your prod and not the cli webhook secret

sudden canopy
#

yes i know

#

i went into stripe live mode

#

created a webhook endpoint

#

event only for "payment_intent.succeeded"

#

added the product

#

got the price id of it

#

added all my env vars for LIVE

heady pasture
#

There must be something not accurate in your env var. You need to double check them.

#

Double check the client secret and the webhook secret of the endpoint

sudden canopy
#

just so we are clear the webhook for production should start with we_ right

#

and not whsec_

#

right @heady pasture ?

sudden canopy
#

they all match up

heady pasture
#

you need to get the webhook secret from this page of your webhook, it should start with whsec_

sudden canopy
#

ok

heady pasture
#

we_123 is the webhook id and not the webhook secret

sudden canopy
#

i see now

#

thanks

#

should work now i appreciate it