#selenium_webhook

1 messages · Page 1 of 1 (latest)

unborn steppe
#

Hi there, is your webhook endpoint a connect endpoint?

humble gale
#

How can I check that.? The client has only provide us their API and secret keys only. We haven't access for their dashboard

unborn steppe
#

No problem. One suggest I have is to add a meta data to the payment_intents created in your platform, so that you can use the metadata to differentiate if the payment_intent.succeeded events are triggered by platform or the connected account.

humble gale
#

But will the stripe notify the cusomer saying "Stripe webhook delivery issues" through an email?

unborn steppe
#

What kind of delivery issues?

humble gale
#

If payment happened which is NOT from our account, still stripe will try to send the notification for our application right?

unborn steppe
#

Yes you are right

humble gale
#

According to your suggestion we shoulf ignore that notification from our application by checking the metadata right?

unborn steppe
#

Hmm, I thought you want to ignore the events which are not triggered by platform?

humble gale
unborn steppe
#

Yes. so you can add a metadata say created_by_platform:true to the PaymentIntents that platform creates. When you receive the payment_intent.succeeded event, check if the paymentIntent's metadata contains created_by_platform:true

humble gale
#

Oh okay. So for the payments which not happened from our Application, will it be a Webhook delivery issue? I mean will the customer get email saying webhook delivery issues? should be no right?

unborn steppe
#

If there's a webhook delivery issue on the connect webhook endpoint, you (platform) will receive the email.

humble gale
#

Got it. Thank you so much for the help!

unborn steppe
#

Of course 🙂