#medotarek.
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Appreciate that ๐
would you mind sharing the event that failed?
this is a sample while i am using stripe cli from the logs
and this one while i am using the ngrok
this means you're having a issue with the Webhook signature
when using the Stripe CLI
you need to use the whsec_xxx that is display when you launch stripe listen --forward-to
that's what i am aleady doing
here's the hook code
you see the webhookSecret?
this should be changed to whatever the terminal outputs when you run stripe listen
do you mean i should get the key from here if i am using the online hook
but in case i am using the cli i should update this one with the one which shows into the terminal isn't it ?
yes that's correct
ok that's great i will i just release that the online on is differant
but is this the correct approch to get the payment_method_id or confirmenting the order (by using webhooks) or there's another best practice to do this
incase i am using nodejs + flutter
it should be yes
thanks a million