#leonardo89-invoice
1 messages · Page 1 of 1 (latest)
generally the invoice stays as a draft for an hour and then we automatically try to charge for it.
has it been longer than that?
no, this logic from stripe work well, but I want to charge the client at the moment
exist any way to avoid this delay for an hour
yep you would call the API to finalize the invoice and then directly pay it by confirming the Invoice's PaymentIntent or using the Pay Invoice API.
https://stripe.com/docs/api/invoices/finalize
https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent + https://stripe.com/docs/api/payment_intents/confirm
perfect, let me check the links, thanks