#idk-webhook-local-to-live
1 messages · Page 1 of 1 (latest)
Hello 👋
I've not personally tested this flow so I'm not 100% sure
let me take a look
--forward-to flag seems to accept a URL but it doesn't say it needs to be a local one
https://stripe.com/docs/cli/listen#listen-forward-to
So I feel like you can use any URL here
--forward-to seems to only work in test mode, was not able to get anything in live mode using that.
ah I see. Sorry I got confused by the question.
Can you clarify how do you want the events to be routed? An example would help
I just want to receive webhooks in live mode with cli if that's possible.
I forward with "listen --forward-to localhost:4242/webhook", but that does not seem to work in live mode, for example if someone makes a purchase not in test mode.
Also in dashboard under webhooks I can see "Local listeners" in test mode, but not in live mode.
I just want to receive webhooks in live mode with cli if that's possible.
have you already tried using--liveflag?
https://stripe.com/docs/cli/listen#listen-live
Thank you! that work perfectly.