#pradeep-gururani_webhooks
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1240949524932071465
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Unclear what it is you're asking me. You've shared a invoice.payment_succeeded event. What is unexpected?
hey, thanks for the response
Actually I have the question regarding the webhook flow, in which cases the 3D secure cards trigger webhook event, and it triggers the already created webhook
I was checking other payments on stripe dashboard but most of them don't show pending/failed webhook responses even though final event shows payment succeeded
Yes, invoice.payment_failed events will trigger for payments where 3DS/auth is requested
so, in my case since the failed event wasn’t properly handled so it kept retrying ?
Correct, yes. Your endpoint should return a 2xx response otherwise we will automatically retry
do you recommend maintaining a dedicated webhook endpoint for 3D/auth payments ?
does stripe trigger the invoice.payment_succeed for the payment where 3DS/auth is required ? and when were these changes introduced in stripe API, our implementation is bit old, could you please share that info?
Hey! Taking over for my colleague. Let me catch up.
No you can't configure a webhook to receive a subset of an event type
does stripe trigger the invoice.payment_succeed for the payment where 3DS/auth is required ?
You first receive the eventinvoice.payment_action_requiredand once the customer complete the 3ds auth you receive theinvoice.payment_succeed
For more details, you can take a look at this guide:
https://docs.stripe.com/billing/subscriptions/webhooks#additional-action
hey, thanks, do we have some type or other keys in the event object of webhook to determine a 3D auth webhook event ?
You need to inspect the charge object in order to determine if there were a 3ds auth action
does stripe create a subscription on their end if the 3D auth failed ?
The subscription can be created before attemping to complete a payment or a 3d auth
if a 3d auth failed then you can ask the customer to retry or use another payment method
I strongly encourage you to check this guide in order to understand the impact of the payment status on the Susbcription:
https://docs.stripe.com/billing/subscriptions/overview#payment-status
sure, thanks a lot 👍