Browse: Home / Classes /



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.

Description #

Once payment is successful, the Checkout Session will contain a reference to the Customer, and either the successful <a href="”>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.

Source #

File: includes/lib/stripe-php/lib/Checkout/Session.php

Methods #