#pradeep-gururani_webhooks

1 messages · Page 1 of 1 (latest)

mint lanceBOT
#

👋 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.

astral junco
#

Unclear what it is you're asking me. You've shared a invoice.payment_succeeded event. What is unexpected?

manic eagle
#

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

astral junco
#

Yes, invoice.payment_failed events will trigger for payments where 3DS/auth is requested

mint lanceBOT
manic eagle
#

so, in my case since the failed event wasn’t properly handled so it kept retrying ?

astral junco
#

Correct, yes. Your endpoint should return a 2xx response otherwise we will automatically retry

manic eagle
#

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?

near nimbus
#

Hey! Taking over for my colleague. Let me catch up.

near nimbus
#

does stripe trigger the invoice.payment_succeed for the payment where 3DS/auth is required ?
You first receive the event invoice.payment_action_required and once the customer complete the 3ds auth you receive the invoice.payment_succeed

manic eagle
#

hey, thanks, do we have some type or other keys in the event object of webhook to determine a 3D auth webhook event ?

near nimbus
#

You need to inspect the charge object in order to determine if there were a 3ds auth action

manic eagle
#

does stripe create a subscription on their end if the 3D auth failed ?

near nimbus
#

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

manic eagle
#

sure, thanks a lot 👍

summer scaffoldBOT