#MidnightCrow

1 messages · Page 1 of 1 (latest)

rigid craterBOT
lament marsh
#

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

glossy lynx
#

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.

lament marsh
#

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

glossy lynx
#

in_1Mr121DKXn4ivDe3Rugju5lK

rigid craterBOT
glossy lynx
#

I do see "collection_method": "charge_automatically" on the invoice, still has open status

livid dome
#

👋 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

glossy lynx
#

was this a resent change? I thought finalize made the invoice transition into paid status

livid dome
#

No it shouldn't be a recent change.

#

Finalized just puts the invoice in "Open"

#

Then the PaymentIntent has to be confirmed in order to create the charge