#MidnightCrow
1 messages · Page 1 of 1 (latest)
Open is the default status for finalized invoices so the finalize is succeeding
Are you expecting the invoice to be paid immediately? In that case it sounds like either the customer doesn't have a default payment method set up or they do and the charge didn't succeed
Yes I want it to be paid immediately.
I'm using a valid test card on test account, so the payment should be going through.
Yes it should. Do you have the ID of the invoice that this happened with?
Oh, as long as you have collection_method: charge_automatically set on the invoice
in_1Mr121DKXn4ivDe3Rugju5lK
I do see "collection_method": "charge_automatically" on the invoice, still has open status
👋 if you just finalize via the API then the invoice will charge after 1 hour. If you want to attempt payment immediately, you should use the /pay endpoint which will both finalize and attempt payment: https://stripe.com/docs/api/invoices/pay
was this a resent change? I thought finalize made the invoice transition into paid status