#ashtray-wasp_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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
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
Yep as noted, if you want to force a charge immediately you should use the above endpoint instead of the finalize endpoint
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?
Yep
Thanks for your help!