#azztec_code

1 messages ¡ Page 1 of 1 (latest)

agile solarBOT
#

👋 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/1402740156984725665

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

worthy depot
#

Hello there

#

Can you share an example Invoice ID that you are testing with?

hollow pumice
#

I forgot to specify, my mistake, sorry, but everything works fine in the test environment, we have problems in production. So I can only provide production data.
Will that be a problem?

worthy depot
#

Nope that's fine.

#

If you can provide an example Invoice ID then I'm happy to look

hollow pumice
#

in_1RtCynERtGc0kLjKak53FR1H

worthy depot
#

Thanks, looking

#

Okay yeah so you are finalizing before the 1 hour auto advance window. That means that the attempted charge would happen 1 hour after the Invoice creation. If you want to charge earlier than that, you should just use the /pay endpoint (https://docs.stripe.com/api/invoices/pay?api-version=2025-06-30.basil) instead of the finalize endpoint. This will both finalize and attempt to charge the Invoice immediately.