#nitin_api

1 messages ¡ Page 1 of 1 (latest)

willow snowBOT
#

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

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

marsh geode
#

Hi! Looking into this.

#

Thanks for waiting! Are you still not getting the client secret after the invoice is finalized?

wintry bear
#

We receive the payment_intent once the invoice is finalized, but we would like to know if we can get the payment_intent while creating the subscription with pay_immediately as false which creates the initialy invocie as well in draft state

marsh geode
#

The payment intent and the client secret are only created when the invoice is finalised. So you won't be able to get it the moment the subscription is cerated with pay_immediately: false.