#IsmailSarikaya-webhook
1 messages ยท Page 1 of 1 (latest)
Our webhook is running in our server. I actually couldn't quite understand.
Our web hook endpoint:
http://instasport.norwayeast.cloudapp.azure.com/api/StripeWebhook
We only received 'application_fee.created' event.
๐ , I'm taking over for @humble wyvern, just give me a few minutes to catch up
sure
so basically, what's happening is that you have a payment intent created on your Connected Account but on your Platform's account, you only have setup the webhook for your Platform's events and not the Connect event
you can read more about that here https://stripe.com/docs/connect/webhooks
Thanks I will read it.
You say this check box, right? If I check here I will start receiving events for my connected accounts?
Do I have to create to separated webhook?
I mean, I want to handle both my platform and connected account with only one webhook.
If I check this box, are you going to send me events both for my platform and connected accounts?
no unfortunately you have to have both
this checkbox makes that webhook endpoint listen only to the events on Connected accounts
Only events for connected accounts, right?
yes
Ok I understand, I really didn't think it works like this way ๐ . So strange I think.
But anyway, thank you so much. I will handle it.
yeah we're getting this feedback from many users and our teams are working on demystifying that whole confusion
we're sorry about this
I found a trick. I added same endpoint for connected account. And it worked ๐
one thing regarding that, I would advise you to have a query param that you configure to know whether it comes from a connect webhook or from your platform
Does it matter?
yes sometimes it does
you need to know whether you need to access using your Platform's API key or the Connect API key some objects or stuff like that
I would suggest configuring your endpoints like this /webhooks?foo=bar
Ok I will add suffix like that.
Now we are using webhooks for all payment intents events and refund event. For what event, do I need to know its source?
And what is Connect Api key?
Because at backend I am using secret key and at mobile we are using publishable key.
sorry, we meant webhook signing secret (whsec_xxx), not API key.