#abhishek-webhooks
1 messages · Page 1 of 1 (latest)
i am using stripe cli and created a webhook to send data to firbase but it is not reaching firebase
It is showing no error but it is not reaching Firebase.i am using stripe CLI
console.log(success: order ${session.id} had been added to db); this line never comes in the console.
the terminal shows
i am doing without firebase functions as i dont want to buy
is blaze required
Hi! What command are you running with the Stripe CLI?
stripe listen --forward-to localhost:3000/api/webhook
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?
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
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?