#arthur - Invoice Status

1 messages · Page 1 of 1 (latest)

mild scroll
#

Hi 👋
Can you rephrase your question. I'm not sure I understand

meager lance
mild scroll
#

Thanks for clarifying. This change happens pretty quick (seconds) once the user provided and confirmed payment information

meager lance
#

ok so if I understand correctly, on the client side, when I use the "confirmCardPayment" method, Stripe sends to my server the "invoice.paid" webhook (only if the payment succeeded), so I can set "paid" in my database?

mild scroll
#

Yes, and using the webhook is the recommended way to ensure you track the status properly.

meager lance
#

Ok, so should I store the "finalized" status in my database? I guess I don't have to because the "open" or "paid" status already implicitly says so?

mild scroll
#

"Finalized" lets you know that the invoice can no longer be changed but the "open" status does indicate that the invoice has been finalized yes.