#BarefootDev

1 messages · Page 1 of 1 (latest)

astral turtleBOT
short ibex
#

hello! did you update the webhook secret key? I assume that when you switched to livemode, you created a livemode webhook endpont - that would have a different webhook secret

finite musk
#

No i havent changed that

#

I'm still in Test mode though

short ibex
#

what do you mean when you say once deployed it's failing with real requests?

#

what are real requests?

finite musk
#

Well if i run the webhook handler locally and test it using the stripe cli trigger it works fine, but then i deploy the handler as a serverless function (on firebase), and then create a checkout session, execute a test payment, and wait for the handler to process the event

#

but in processing the event it fails to verify the sig

short ibex
finite musk
#

acct_1LycYRBmNCZKiCRj

short ibex
#

click on Reveal under Signing secret

finite musk
#

Yep

#

thanks ill try it now