#drakhaon
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- drakhaon, 48 minutes ago, 14 messages
Not possible from stripe's end. You can only change endpoint based on event type
So you'd need to redirect request yourself
So we need to add a webhook for each cluster and broadcast event to all cluster to see which one is concerned ?
Up to you how you want to handle
Or have 1 webhook endpoint that's separate
Then you have your own logic to forward to right cluster
But there's not a way within stripe to route based on metadata
Oh there is a misunderstanding
We don't ask stripe to do it. We would like to know if there is a way to add metadata on each event related to a customer. Thus we will be able to redirect on our side
I have added metadata on the checkout session, but only the event related to checkout have this metadata
Oh
Which events specifically
There's not a way to automatically have metadata copied across events
But you can explicitly set it on some
All events related to recurrent subscription (invoice, checkout, subscription)
And this metadata depends on the client associated with the event
On session creation you can set it for both session and subscription object
But you can't set it elsewhere
You'd need to manually do that
If I set this metadata for the subscription object, does the Invoice event related to this subscription wll have it ?