I’m integrating Stripe webhooks for a better management of sellers connected accounts. For instance, if a seller desauthorized my app or update it’s account, I need to automatically update his account.
Problem is that I found out different issues preventing me from doing it :
If I define a new endpoint URL in Stripe, Events objects are not flat JSON response, so we can’t access the object data with all the important stuffs.
We can’t access User’s Stripe’s Account ID in “Do a search for” search, so we can’t lie the Event to its Bubble User seller
When I get the top-level user_id property which identifies the user for whom the webhook is being sent, how can I find the Bubble User it lies to since we can’t access to User’s Stripe Account ID property in a “Do a search for” ?
I could save User’s Stripe Account ID as a new field when the connected account is registrerd, but it would be a pity as the property is already there.
Same issue with Stripe’s Customer ID to find a Bubble User Customer.
Did someone found a workaround for this ?
@emmanuel. If there is not, would it be possible to let us access our Stripe Event as new triggers, directly linked to our Customers and Sellers users ? Ideally, managing also Event about our Sellers connected account (Event wiht the user_id parameter) ?