#arthur - Invoice Status
1 messages · Page 1 of 1 (latest)
Sorry if there are some mistakes ^^. My question is, how long does it take for Stripe to change the status of an invoice to "paid"? (according to the diagram found on https://stripe.com/docs/invoicing/integration/workflow-transitions)
Thanks for clarifying. This change happens pretty quick (seconds) once the user provided and confirmed payment information
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?
Yes, and using the webhook is the recommended way to ensure you track the status properly.
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?
"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.