#peter-invoice
1 messages · Page 1 of 1 (latest)
correct, that doesn't charge the invoice.
if you set auto_advance:true then it will automatically finalize in an hour and get charged
or you would call the stripe.Invoice.finalize() API
the docs are not great here
Aah, thanks for pointing that out! So will finalize() do it right away? I don't want to keep the customer waiting for an hour...
no, finalize doesn't charge as well
How can I go about charing right away?
you'd have to finalize, then access invoice.payment_intent
and then confirm that PaymentIntent
Oh, got it. So create invoice, finalize it, get the intent and confirm the intent?
yep!
Just curious to know once we generate invoice can we send email to customer regarding invoice? or is there any default setting available in stripe already to handle this after payment success?