You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to debug some failing connect events using the webhook local listener.
Expected Behavior
When running the listener, I expect Stripe to forward events to my local webhook. This expected behavior is how I'm reading the Stripe documentation here.
This command forwards events sent to your Stripe-registered public webhook endpoint to your local webhook endpoint. It loads your registered endpoint, parses the path and its registered events, then appends the path to your local webhook endpoint in the --forward-to path. If you’re checking webhook signatures, use the {{WEBHOOK_SIGNING_SECRET}} from the initial output of the listen command.
Steps to reproduce
Setup a connect webhook in Stripe. Something like this
Run a webhook handler locally (for me, localhost:7185)
In a terminal, run stripe listen --load-from-webhooks-api --forward-to localhost:7185 --forward-connect-to localhost:7185. Observe the listener in active in Stripe Dashboard.
Create and confirm a payment intent for a connect account using Stripe API in order to trigger payment_intent.succeeded event
Observe that an event is recorded for the webhook in Stripe Dashboard, but no event triggers for the Stripe CLI listener.
Traceback
None
Environment
macOS
The text was updated successfully, but these errors were encountered:
I had the same issue, that "real" webhook calls for events (triggered during the test checkout process on a local dev machine) was not forwarded back to the local machine. The missing part for me was --forward-connect-to localhost:1234! After adding that to CLI startup, the local webhook handler are called now.
Issue
I am trying to debug some failing connect events using the webhook local listener.
Expected Behavior
When running the listener, I expect Stripe to forward events to my local webhook. This expected behavior is how I'm reading the Stripe documentation here.
Steps to reproduce
stripe listen --load-from-webhooks-api --forward-to localhost:7185 --forward-connect-to localhost:7185
. Observe the listener in active in Stripe Dashboard.Traceback
None
Environment
macOS
The text was updated successfully, but these errors were encountered: