#ashtray-wasp_unexpected

1 messages ¡ Page 1 of 1 (latest)

lost ridgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1281620184804622346

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

craggy cove
#

Hello

#

Yep this is expected, all renewal Invoices have a one hour period of draft before they are finalized and charge. If you want to charge immediately, you would listen for Webhooks and then call the /pay endpoint to manually finalize and charge: https://docs.stripe.com/api/invoices/pay

west raven
#

I finalize the invoices right after they get created. So they are not in draft, yet I still wait an hour for a charge to be created

craggy cove
#

Yep as noted, if you want to force a charge immediately you should use the above endpoint instead of the finalize endpoint

west raven
#

Okay, so it sounds that finalizing the invoice just locks it, so that it's not updatable, but automatic payment is done an hour after the creation, regardless of the earlier finalization. Is that correct?

craggy cove
#

Yep

west raven
#

Thanks for your help!