#adam-williams_manual-capture-multiple-pmts
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/1346886245334257685
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I am aware that pay_by_bank needs to capture automatically. I get that, but that doesn't mean I want to give up the card auth+capture flow.
Hello ๐
In that case you cannot offer both payment methods on the same payment intent.
so I need two payment_intents, and my own UI
for the customer to switch between payment methods?
Oh wait a sec. I think you can get there with a single Payment Intent. You would need to provide different payment_method_options parameters for each payment method type though.
For card you would specify the capture method here instead of the top level capture_method parameter
Since pay_by_bank is a Preview feature, we don't have the full list of payment_method_options available in our API reference doc but I suggest you test out a few configurations to see what you get.
That works, ta
"payment_method_options": {
"card": {
"capture_method": "manual",
"payment_method_types": [
"pay_by_bank",
"card"
],
excellent ๐
Great! I'm glad we got it working ๐