Using stripe's API and the Integration Builder, before you go to the checkout page, you can get the id
of the Ceckout Sessions
in the create-checkout-session.php
file. (https://stripe.com/docs/api/checkout/sessions/object?lang=php)
My plan is to use that session ID later on to get the customer's ID and the subscription's ID.
But does these sessions expires? Meaning after some time, i won't be able retrieve that session? (https://stripe.com/docs/api/checkout/sessions/retrieve?lang=php).
Ps: I don't think it matters, but i'm using PHP as my backend language.