#manyTomas (RestarT)

1 messages ยท Page 1 of 1 (latest)

royal citrusBOT
gaunt dust
#

Hello ๐Ÿ‘‹
The checkout session typically expires in 24 hours (unless specified otherwise via expires_at parameter)

So if you store the checkout session ID on your servers then you can retrieve the object by calling the API and redirect to the url
https://stripe.com/docs/api/checkout/sessions/retrieve
https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-url

The other option would be to list all checkout sessions by passing in a customer ID and looking at the most recent one
https://stripe.com/docs/api/checkout/sessions/list

red spindle
#

aha so I should save the checkout session id receive from the sdk and then I can call for the checkout url link ... how simple omg

gaunt dust
#

๐Ÿ˜„