#brotzka
1 messages · Page 1 of 1 (latest)
What is the workflow you're working on?
In some cases the billed amount is wrong due to an error in a third party system. I want to hook in at the moment the invoice gets created in order to update the amount before the invoice gets finalized.
FWIW, that behaviour shouldn't differ between test/live. It's only the initial invoice that will be immediately finalised – recurring ones always wait at least 1 hour
Ah.. interesting 🤔
Is it possible to disable this behavior for the first invoice as well?
If you're actually listening for invoice.created events then we wait for the response to those webhooks before finalising: https://stripe.com/docs/billing/subscriptions/webhooks#understand
So do I get this right? When I've registered a webhook listening to invoice.created the invoice gets finalized only when the response was of status 200?