#sandip.b.fst
1 messages · Page 1 of 1 (latest)
I'm creating subscription and getting latest_invoice and latest_invoice->payment_intent.
after that I'm confirming payment intent to get charge.
yes you need to finalize the invoice before proceeding to the payment
is this part of subscriptions? or one-off payments?
subscription.
but it works without finalising invoice when i confirm payment intent it gives charge.
so basically there's a life cycle for a subscription's invoice https://stripe.com/docs/billing/subscriptions/overview#invoice-lifecycle
so actually it's not really mandatory to finalize the invoice yourself before payment
okay, Thank you.
because the invoice is finalized directly on the subscription creation request
okay, Got it,
Show its not going to work when I confirm payment intent for one time payment invoice without finalising the invoice right ?
there won't be a payment_intent on the invoice until the invoice is finalized