Session
A Checkout Session represents your customer’s session as they pay for one-time purchases or subscriptions through Checkout or Payment Links. We recommend creating a new Session each time your customer attempts to pay.
Contents
Description #
Once payment is successful, the Checkout Session will contain a reference to the Customer, and either the successful <a href="https://stripe.com/docs/api/payment_intents”>PaymentIntent or an active Subscription.
You can create a Checkout Session on your server and pass its ID to the client to begin Checkout.
Related guide: Checkout Server Quickstart.