#jay-s
1 messages · Page 1 of 1 (latest)
Hello, are you using the Stripe CLI and stripe listen already here?
We also have a command to trigger events if you have not already seen that https://stripe.com/docs/cli/trigger
Hi, yes I am using the stripe CLI and the stripe listen command. But when I try to trigger source.transaction.created event by running stripe trigger source.transaction.created, the event it throws the error as below:
The event ‘source.transaction.created’ is not supported by the Stripe CLI.
Ah that makes sense. Trying to think of how best to trigger this
And taking a step back, can you tell me what your end goal is here? Are you working with previously written code that reacts to that event?
yes! and apologies for a bit late response.
So we have an application that essentially manages properties as short, medium and long term rentals. Currently all accounting is done through a central stripe account for all buildings in which we operate which is cumbersome for our accounting team. We are migrating to connected accounts where we take our fees at the time of transaction for each building.
We also list properties on Airbnb which is where we were looking to use this webhook, so as Airbnb pays us out, we can listen to this event on our end and collect our fees for that transaction.
From my understanding Airbnb payouts are in form of ach transfers and what I could find on stripe's documentation, the webhook source.transaction.created looked like the most appropriate event to listen and do our calculations on.
lmk if you need more context to better understand the situation. Thanks!
Thank you for the clarification. Still thinking on how to trigger this. Do you have the ID of one of those events that has already happened on your account? (evt_123)
let me check
I couldn't find it easily but I'm just confirming it within my team. will get back in a bit.