#abhishek-webhooks

1 messages · Page 1 of 1 (latest)

hearty thunder
#

👋 happy to help

#

could you explain in details please?

craggy echo
#

i am using stripe cli and created a webhook to send data to firbase but it is not reaching firebase

#

i am doing without firebase functions as i dont want to buy

#

is blaze required

wispy jay
#

Hi! What command are you running with the Stripe CLI?

craggy echo
#

stripe listen --forward-to localhost:3000/api/webhook

wispy jay
#

So you are sending all the event to that URL: localhost:3000/api/webhook

#

do you have a local server at the url localhost:3000/api/webhook?

craggy echo
#

Yes

#

In stripe we hook

#

Webhook

wispy jay
#

If you are using this localhost:3000/api/webhook, it means that on your computer you are currently running a server at the URL localhost:3000/api/webhook. And if you are using Firebase I don't think that's the case.

#

So you need to change the URL to one that is one firebase.

#

abhishek-webhooks

craggy echo
#

How

#

I can send you my file structure

wild maple
#

Hi there. To confirm your server is running at localhost:3000/api/webhook, can you try reaching that endpoint with curl or Postman? Do you get a response?