#jasperste_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/1337373051184091176
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Is this new behaviour of the API?
๐ happy to help
taking a look
the reason why you're getting this error, is because the customer's payment confirmation failed
so basically the checkout session is still in an "open" state
and the customer can still pay it by providing new payment details
It also happens when the customer just abondens de payment flow. When they come back to our platform we give them the option to either subscribe to yearly or monthly and cancel incomplete subscriptions. That started failing with this error
See req_80vaCLUe7PnK4Z
We used to be able to cancel incomplete subscription still in a open state
yes, now before you cancel you need to check whether the checkout session is still in an "open" state and expire the session before you delete the subscription
Thanks. Is there a way to find (open) checkout sessions via the subscription id?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh, missed that, looked for the wrong thing in the docs, sorry!
We'll do that then from now on
this is the API for expiring a Checkout Session https://docs.stripe.com/api/checkout/sessions/expire
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks!
hi! I'm taking over this thread. let me know if you have other questions.