#Velix - checkout recovery

1 messages ยท Page 1 of 1 (latest)

cosmic krakenBOT
remote raven
#

Have you tried that?

mighty niche
#

It doesn't work: "Only Checkout Sessions with a status in ["open"] can be expired. This Checkout Session has a status of expired."

#

Check this one: cs_test_a1S8s8Vzz7U0QEO3OLbroZmsSQJwXdsSblNdORtHoCiOra5OxThaXJpofG

remote raven
#

That sounds like you're using an already expired session, not the new open one

mighty niche
#

yeah, but I can't close the new one.

#

But I don't get a new session ID

remote raven
#

Hmm ok let me take a look

mighty niche
#

Ahh... I need to follow the link and extract it from the redirection URL? Hell ๐Ÿ™‚

#

I think I got it now. This is like a "portal" link. Within a month, this link can be reused to create several sessions, which live for 1 day again.

#

So there is no "new session". it gets generated, when clicking this link.

#

Oh dear, it's way more complicated.

remote raven
#

Velix - checkout recovery

mighty niche
#

hmm... the problem is that this recovery link lives for 30 day.

#

days*

#

But I'd love to kill it after 2 weeks.

#

Seems like this isn't possible?

remote raven
#

No, this is not currently supported, but I can share the feedback.
The alternative here would be listening for the expiry events and implementing your own recovery flow for re-creating the cart during the window you want.

mighty niche
#

Using Stripe Elements and stuff?

#

oh... or just starting a new session, of course.

remote raven
#

The latter -- an endpoint that creates a new session you control, not a manual payment integration

mighty niche
#

I'm sad that you can't start session just for 14 days ๐Ÿ˜„

#

Okay, I'll play with it. Thanks a lot.