#MarkoBoras
1 messages · Page 1 of 1 (latest)
We've no idea how Firebase emulators works I'm afraid. Are you encountering a specific issue/error?
hmm
Everything normally works correctly
I want to host app locally and my machine will be server where I'll create endpoints which webhooks will trigger
this is error
Generally you'd just use the Stripe CLI to forward events to your local development webhook
Creating a localhost endpoint like that via the Dashboard won't work
I don't want manually to forward events. I want to emulate real flow of app.
I don't uderstand part "Stripe CLI to forward events to your local development webhook"
I've tried it
What particular part are you struggling with?
can I do this
with this
stripe listen --events payment_intent.created,customer.created,payment_intent.succeeded,charge.succeeded,checkout.session.completed,charge.failed
--forward-to localhost:4242/webhook
I listen on webhook events
and then I can trigger events through my app to that endpoint?
Yep, that will forward any of those events listed that occur on your account to that endpoint
let me check one more time today
I can't find solution with firebase function emulators
nevermind
thanks
What is the issue exactly?
Is there an error? Is the event being forward to your localhost:4242/webhook endpoint?
I don't know why I can't even in my functions emulators fetch products
Not sure I understand what you mean. Are the emulators running on that :4242 port?