#Velix

1 messages ยท Page 1 of 1 (latest)

candid briarBOT
glacial drift
dense adder
#

it's possible to use elements? the new js api?

glacial drift
balmy trail
#

Oh sorry, I was on the phone.

#

Stripe Checkout Sessions have a strange expire behaviour ๐Ÿ˜ฆ

glacial drift
glacial drift
balmy trail
#

Our frontend-guy doesn't want to use Elements ๐Ÿ˜ฆ

glacial drift
#

So you need to use Stripe Checkout

glacial drift
balmy trail
#

The problem is: When the customer closes the stripe checkout session by error, he can click the link we've sent him by mail for 24 hours, then it expires. I know that you can recover those sessions, but the customer needs a new link then.

#

But this recovered cart lives for 1 months. we want to expire it after 2 weeks.

#

But you can't let recovered carts expire ๐Ÿ™‚

#

The work-around would be to create a new checkout session after the old one expires.

#

That's more complicated to code, but it seems to be the best way.

glacial drift
balmy trail
#

Oh damn. Phone again, I am reappy sorry.

#

Yeah, 24 hours isn't enough. And I know, the recovery URL... but I can't give the customer a new session URL automatically.

#

When I give him the recover URL, it lives for 1 month and I cannot cancel it.

balmy trail
#

Yeah... creating a new session seems to be the easiest one.

#

Thanks for your time ๐Ÿ™‚

glacial drift
#

Np!