#xythantiops-cli-forward
1 messages · Page 1 of 1 (latest)
@cursive forum I'm not sure I understand the plan/question. When you start the CLI you choose where to forward events to right?
xythantiops-cli-forward
I may have missed that. How do I configure where I forward the events to?
It looks like if I use two tabs for my terminal, I can set up the listener in one tab and send events from the other tab. Will the listener receive all events sent to my Stripe account or only the ones I am triggering from the command line?
stripe listen --forward-to [local-ip]/api_ext/stripe/webhook.php
A newer version of the Stripe CLI is available, please update to: v1.13.8
Ready! You are using Stripe API Version [2016-03-07]. Your webhook signing secret is [redacted]
Then in my other command I send a like stripe trigger charge.succeeded
And I see this on the listener:
2023-01-17 10:56:34 --> charge.succeeded [evt_3MRJOfDZf78GBssW2qjcUa6D]
2023-01-17 10:56:35 <-- [200] POST [local-ip]/api_ext/stripe/webhook.php [evt_3MRJOfDZf78GBssW2qjcUa6D]
the listener will get all events in that case and forward them as expected
Thank you for your help