#riprock_code
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/1386827425677054084
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Hello Roadrunner!
Do you happen to know which API version you're using?
The reason I ask is because, starting with version 2025-03-31.basil, the payment_intent property was removed from the Invoice object: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices
Got it, that explains it then
Okay. Gotcha. So Invoice payment object is what I need to connect with. I see it in the link
So then my next question is Im not seeing an invoice payment ID in the json
Like I just ran the call
And heres the result just slightly sanitized
Did you expand payments when retrieving the Invoice?
So I just did that
self.client.invoices.retrieve(invoice_id, params={"expand": ["payments"]})
And Payment intent shows up
I guess because im still on 5-28
Right, so anything within the Basil version uses this new object format
How do I force to use 5-31.basil so I can dev on the most recent version
stripe_version param correct?
2025-05-28.basil is the latest version