#brotzka

1 messages · Page 1 of 1 (latest)

restive forumBOT
mighty garden
#

What is the workflow you're working on?

calm spear
#

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.

mighty garden
#

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

calm spear
#

Ah.. interesting 🤔

#

Is it possible to disable this behavior for the first invoice as well?

mighty garden
calm spear
#

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?

mighty garden
#

Correct

#

We'll wait up to 72 hours for a 2xx response, then finalise anyway