#jasperste_api

1 messages ยท Page 1 of 1 (latest)

frank cairnBOT
#

๐Ÿ‘‹ 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.

sturdy rapids
#

Is this new behaviour of the API?

sinful pecan
#

๐Ÿ‘‹ 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

sturdy rapids
#

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

frank cairnBOT
sinful pecan
#

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

sturdy rapids
#

Thanks. Is there a way to find (open) checkout sessions via the subscription id?

sinful pecan
sturdy rapids
#

Oh, missed that, looked for the wrong thing in the docs, sorry!

#

We'll do that then from now on

sinful pecan
sturdy rapids
#

Thanks!

frosty umbra
#

hi! I'm taking over this thread. let me know if you have other questions.