#trimetilo_api
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/1234774358648422461
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
so you want to place a hold on a card, and capture part of the payment later, while also generating an invoice?
Hi! Yes
we don't support this. but here's a workeround:
- create a PaymentIntent to place a hold on the card
- capture the funds later
- then create an Invoice. by default it will be unpaid, but mark it as "paid out of bands" https://docs.stripe.com/api/invoices/pay#pay_invoice-paid_out_of_band
oh that was another idea actually mark as paid oob
do you have any plans to support it using Invoices?
no idea, sorry.
can you also help me understanding where is the best place to fulfill the order using this workaround? I'm not sure if creating a PaymentIntent to place a hold on the card will actually check that the card has enough funds
I'm not sure if creating a PaymentIntent to place a hold on the card will actually check that the card has enough funds
that's the whole point of placing a hold. you are garenteed that capturing the funds will work
you just need to make sure to capture the funds within a few days, otherwis the funds will be automtically released
Ok so if the payment intent does not have enough funds, will it change its status to requires_action, requires_confirmation or other next step, so I can redirect the user?