#drakhaon

1 messages · Page 1 of 1 (latest)

dull plazaBOT
#

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.

buoyant spindle
#

Not possible from stripe's end. You can only change endpoint based on event type

#

So you'd need to redirect request yourself

spark blade
#

So we need to add a webhook for each cluster and broadcast event to all cluster to see which one is concerned ?

buoyant spindle
#

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

spark blade
#

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

buoyant spindle
#

Oh

#

Which events specifically

#

There's not a way to automatically have metadata copied across events

#

But you can explicitly set it on some

spark blade
#

All events related to recurrent subscription (invoice, checkout, subscription)

#

And this metadata depends on the client associated with the event

buoyant spindle
#

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

spark blade
#

If I set this metadata for the subscription object, does the Invoice event related to this subscription wll have it ?

buoyant spindle
#

No

#

Metadata isn't automatically copied across objects

#

Like I said, you need to explicitly set it