#ankit_api

1 messages ¡ Page 1 of 1 (latest)

past cedarBOT
#

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

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

last roost
#

Which integration type do you use? Checkout Session, or Payment Intent?

lapis thunder
#

payment Intent

last roost
#

For Payment Intent with manual capture, I'd recommend checking this guide: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

The steps will be as follows:

  1. Create a Payment Intent with manual capture
  2. Use the client_secret created from Payment Intent in Step 1 to collect and confirm the payment method details. If the authorisation is confirmed successful, Payment Intent status will move to requires_capture
  3. Capture the Payment Intent before its expiry

Use manual capture to temporarily reserve funds without immediately charging the payment method.

lapis thunder
#

can you please confirm the below flow is correct?

  1. Send the payment intent call to Stripe with capture_method=manual
  2. Stripe send the response as requires_action and redirect user to 3DS authenticate page.
  3. When 3DS authentication is completed it will give call back to our endpoint with status succeeded
  4. We will send the Capture async request to Stripe
  5. When capture request is completed Stripe will call back to our endpoint the updated Status.

Please let us know if anything is missing or incorrect?
can you please provide proper flow document or can you write down the proper flow and who will be responsible for that request?

last roost
#

In Step 1, do you set payment_method in the same Payment Intent creation request for capture_method=manual?

lapis thunder
#

yes

past cedarBOT
last roost
#

Yes, then the flow you shared looks correct to me

lapis thunder
#

I want to understand how did you get the call back end point when 3DS authentication completed and when capture request is complete?

warped gazelle
#

Hi there! I'll be stepping in for river, who needs to step away

#

I'm sorry, but I don't understand the question. What do you mean by "the callback endpoint"? Are you trying to understand how to track changes in the PaymentIntent's status?

lapis thunder
#

Point 3 in the above msg
3) When 3DS authentication is completed it will give call back to our endpoint with status succeeded

warped gazelle
lapis thunder
#

when we receive response requires_action for payment intent request then what will be the next step form our side?
is it payment intent request again with some additional paramter or it will be capture request?
can you share that sample request?

warped gazelle
#

I can't share a sample request because requests are specific to individual Stripe accounts

lapis thunder
#

ok but can you share steps whether what will be next steps?
if you can share complete steps or flow that would be very helpful