#Peta Stewart

1 messages · Page 1 of 1 (latest)

bright karmaBOT
wind cloud
digital kite
#

Hi, it's a common error and there could be various reasons. Are you developing in local?

wind cloud
#

You guys helped me with the local code and it was working fine. But now testing live it is throwing the error again.

digital kite
#

Ok, so in local code did you have the verification logic? and did you use the webhook secret?

wind cloud
#

Yes. Do you want to see my code snippets?

#

I test local using the Stripe CLI

#

It was working : )

digital kite
#

Yes code would help, but I would also:

  1. Double check you created a Webhook endpoint in Stripe Dashboard
  2. Double check you used that Dashboard endpoint secret in your live environment
wind cloud
#

ok

#

It was different. I will test again.

#

It worked. So happy.... thank you

#

BTW I was working on a problem yesterday and found out my code actually worked. It is to allow only certain IPs (ie for webhooks). Your team didn't have any cod for that. Did you want my code snippet (Node.js backend express server)

digital kite
#

Glad to hear it worked. And for the another problem yesterday have you resolved it? If yes then we are good 🙂

wind cloud
#

Yes, all good.