#raytiley
1 messages · Page 1 of 1 (latest)
Well you'd configure a regular, non-Connect webhook on your platform account which will only receive events that occur on your platform account
Otherwise you'd have a separate Connect webhook for events that fire on your connected accounts
If you're using the same URL/endpoint, then yes you'd need to filter those events accordingly. Your non-Connect events won't have the account field
Right , I guess what I’m asking is with standard connect accounts, they are full regular stripe accounts. There could be products , payments , activity that has nothing todo with my platform
Then only listen for the event types you need (i.e. checkout.session.completed)
What if they are using stripe with some Wordpress plugin as well that would fire those events.
Sorry if I’m being thick.
I just couldn’t really figure this out from the docs.
You can configure which event types you want your webhook to recieve when you create it. Any other events will be ignored
Regardless of whether they fire on the account because of payments unrelated to your platform
You would still receive checkout.session.completed events, for example, from Checkout Sessions unrelated to your platform. You'd need to maybe apply metadata when creating the session to confirm it was created by your platform, and then filter on that in the webhook
That’s the piece I’m missing. The ability to add some session metadata
Is there anyway to add some extra metadata when using a PaymentLink?
Should be supported? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.