#sufiyan_webhooks
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1468148648495026228
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey
Could you share your Webhook endpoint ID (we_123) and the event ID (evt_123) you expected to receive the events?
wdym which one?
api endpoint?
or the stripe one
@charred thicket Act i setup the cli
I have added the events of stripe connect in this endpint and this webhook has already running the normal stripe account events
now i want to ask does i need separate webhook for stripe coonnect?
Could you share the event ID in text?
i am receiving simpe events but when i trigger payouts for stripe connect therer is not log for them
i can;t because i have not recieved any stripe connect event
Could you share the connected account ID (acct_123), so that I can check the events on this account?
yeah sure
these are the connect accounts
acct_1StsXlBGhDnSwGAO
acct_1StDDUBOSDNEzMeE
What events are you expecting to receive on these two connected accounts? The last event on these accounts are Jan 26 and Jan 25 respectively.
There isn't any recent events on these two connected accounts
It seems expected that your Webhook endpoint doesn't receive any events for these two connected accounts since no recent event was created on them
Actually, I want to test payouts to these accounts for example, from my backend Node.js code so that when they receive an API request, these members should receive some payments. I already have a webhook set up for normal payouts, but when I tried to trigger payouts to these accounts, I didn’t receive any events.
Can you tell me that on cli for my this webhook how can i listen to strip connected acc events?
because i used this command
stripe listen --forward-to then my endpoint
The issue here is not with the Webhook endpoint not listening to the events on connected account. There is no payout created on these two connected accounts, so the payout event isn't created
How did you trigger the payout to these accounts? Could you share the request ID (req_123) of the operation that you trigger the payout?
Only when the payout is created successfully, the payout event will then be created
I just created an API for triggering payouts and updated my database payout models accordingly. The issue is, I’m not sure what the actual response is, because my API returns a status of processing, and the webhook didn’t trigger. I’m really confused about how to set this up properly or test it.
Can I test it through the Stripe CLI, like transferring dummy funds to a connected account?
👋 Hi there! I'm taking over for my colleague. Let me take a look
okay great tysm!
So if you want to listen for events on your Connect webhook, you can use the stripe listen --forward-connect-to to flag: https://docs.stripe.com/cli/listen#listen-forward-connect-to
i handled all the events of Connect on my 1webhook one can i use that for both purposes like one webhook for stripe connect and stripe regular payouts
and pleas share that how i can add test amount in my platform so i can test it again
As a Connect platform you would want to have two webhooks: one for your platform, and one for connected account events, as described here: https://docs.stripe.com/connect/webhooks#connect-webhooks
yeah i checked that, it is for productoin i am talking about cli
Yes, you can listen to both types with the CLI, for example: stripe listen --forward-to localhost:8000/platform --forward-connect-to localhost:8000/connect
let me check again please dont close ticket i will get back if i need help
thank you
i was confuse because my endpoint was api/payment/webhook and i wrote the connect events logic in this api so i was saying can i just do
stripe listen --forward-to localhost:8000/api/payment/webhook --forward-connect-to localhost:8000/api/payment/webhook
thats was my main concern in local cli while testing
so i can open two cli and run separate separate for event listening
is that possible with one endpoint
Yes, you can use one URL for both