#rik_api
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/1364554612866285599
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
I would guess that you've upgraded API version and/or SDK version recently, and inadvertantly (?) opted into a breaking change where we removed the payment_intent field from Invoice: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices
Your request uses v12 of our Python SDK which is fixed to that breaking API version: https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#1200---2025-04-01
I'd guess you've just made that change lately without realising consequences
That is possible, since keeping up with the latest version is quite healthy most of the time... Is there a way with the current api to get the payment intent from the subscription call?
You should use this field instead of payment_intent: https://docs.stripe.com/api/invoices/object#invoice_object-confirmation_secret
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
since keeping up with the latest version is quite healthy most of the time
Worth bearing in mind that major SDK versions are always pinned to new API versions so you should check the changes for the related version before upgrading