#Tiana-invoice-auto-advance

1 messages ยท Page 1 of 1 (latest)

devout crypt
#

Hi there ๐Ÿ‘‹ invoices relying on auto-advance to move through their states will remain in a draft state for approximately an hour before being finalized. The exception to this rule is that the first invoice for a subscription gets finalized immediately.

quiet wind
#

Hello Toby, would it be possible to disable this delay ? Thanks

devout crypt
quiet wind
#

Which webhook event should I listen to and which variables should I check ?

devout crypt
#

You can listen to the invoice.created event as your trigger, and then retrieve the invoice to check what the status is set to. If it's in a draft state then you can try finalizing it.