#johnwick_api

1 messages ¡ Page 1 of 1 (latest)

onyx forumBOT
#

👋 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/1410489885307043872

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

deft sierra
#

Hi there, what's the payment intent ID?

ionic tulip
#

its this pi_3S0xnHBd8PxzBU0N1qG4TWPl

deft sierra
#

The payment intent is created with capture_method set to manual and it's curretly status is requires_capture

ionic tulip
#

Correct.

deft sierra
ionic tulip
#

But I should call this only after the 3DS is successful right?

#

After 3ds is successful will I receive a webhook event?

deft sierra
#

You should only capture the payment when its status becomes requires_capture

#

You can listen to payment_intent.amount_capturable_updated event to get notified when a paymentIntent has amount_capturable updated

ionic tulip
#

Alright got it. You mean this event I need to capture at my end:

deft sierra
#

Yes you are right!

ionic tulip
#

ah okay got it. Thanks will check this. thanks for the help. But why is the capture button not visible in the dashboard though?

deft sierra
ionic tulip
#

Ohh understood. Got it.

ionic tulip
#

But what would happen if i send capture_method=automatic in the payment intent?

#

when I have a 3ds in between

deft sierra
#

The payment_intent will transition to succeeded if the 3DS authentication is successful

ionic tulip
#

but it won't capture the payment before the 3ds is completed right? Even if I send automatic

deft sierra
#

No it won't.