#eran-galperin_terminal-capture-methods
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/1379125048455204965
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
I"m taking a look at the request you shared and the related Payment Intent.
Okay the "new flow" you are referring to is happening because your PHP code is excplicitly telling the Stripe API not to automatically capture the funds.
You can see in this request: https://dashboard.stripe.com/logs/req_77izUbJgIm3cAp, you are passing
capture_method: "manual",
This tells our API to wait until you use the capture API to capture the funds.
If you want to automatically capture funds once they are confirmed, I recommend you remove this parameter from your Payment Intent creation API request.
This is very helpful - it looks like the capture API link goes to an internal documentation website - can you tell me what is the best value to use there for an immediate capture? is it "auto"?
That link is for Stripe's PUBLIC API reference documentation. It is our canonical reference for all the the API endpoints and parameters we expose.
For example, you. can see all the options for capture_method in the corresponding API reference doc for creating Payment Intents: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-capture_method
Currently, we default to automatic_async to improve latency of API responses. You can also use automatic to make a synchronous API call that will only return after the payment is successfully captured.
This is what I get when I click on that link -
But thanks for that! We'll use automatic_async and monitor how it goes
Oh, I'm sorry. SOmethng got appended to that link. Let me correct both
Okay I updated both of them and you should be able to see them now
I want you be to able to find the descriptions of each and have that for your own reference
automatic
Stripe automatically captures funds when the customer authorizes the payment.
automatic_async
Stripe asynchronously captures funds when the customer authorizes the payment. Recommended over capture_method=automatic due to improved latency. Read the integration guide for more information.
Yep, I see it now - thank you!
Great ๐ Happy to help ๐