#stevek-aberdare_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/1240600178956959796
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, do you have an example pi_xxx ID I can look at that doesn't work as expected?
Hi, sure - here's one: pi_3PGe3HFHYlD7bxAa109Uum81
We've deprecated the charges field in the API version used for that payment. Replaced by latest_charge: https://docs.stripe.com/upgrades#2022-11-15
Ah that'll explain it - thank you. I'll bookmark that page.
No problem, glad I could help! I suspect your code was written prior to upgrading API version and/or for a different account on an older version
It would have been written in 2021 by the looks of GitHub - but has been working until the last few weeks for some reason.
There's a payment_method field in the top level of the paymentintent response. Would that be the same value we were previously getting from the charges->payment_method ?
What details from the payment method do you need?
Just the payment method ID for charging future instalments.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Brilliant, thank you. Appreciate the help.