#double-invoice-pay
1 messages · Page 1 of 1 (latest)
double-invoice-pay
@low swift does the Customer have that card marked as the default payment method?
Yes, they do. I have created subscriptions using this customer and it processes the payment without further action so I was expecting the same result with invoices as well
So when you finalize the Invoice, it doesn't get paid immediately, it's paid async after
do you have a concrete example I can look at?
Yes, just the customer id enough?
Invoice id in_123 would be easier
@high turtle is going to take over as I have to run
Taking a look
Ok, no rush...I am about to get on a call for about an hour as well
👍
For when you come back @low swift, you need to set auto_advance: true when you finalize the Invoice (https://stripe.com/docs/api/invoices/finalize#finalize_invoice-auto_advance) for payment to be attempted after 1 hour. Alternatively, you could just call https://stripe.com/docs/api/invoices/pay instead of using the finalize endpoint which will both finalize and attempt to pay the Invoice