Custom Checkout with ElementsBeta
Learn how to use Elements with Custom Checkout to build a checkout page.
Beta
The Custom Checkout integration is in private beta. To request access, click here.
Use Custom Checkout to create customisable checkout forms. This integration combines the functionality of the CheckoutSessions API with the control and customisation provided by Elements.
Get started![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Learn how to build a checkout page with Custom Checkout.
- Get started with Custom Checkout
- Collect customer details
- Collect payment details with the Payment Element
- Build a pay button to complete checkout
- Perform fulfilment after a customer pays
Comparing with the Payment Intents API![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Use the Checkout Sessions or Payment Intents API to accept various types of payments. You can integrate either API into Stripe’s pre-built payment platforms. Depending on your checkout flow and the level of control you require, these APIs support different use cases:
- The Checkout Sessions API allows you to model your customer’s checkout process. This includes the line items in their purchase, billing or shipping addresses, applicable tax rates, and coupons or discounts. The CheckoutSession manages creating subscriptions, calculating tax rates with Stripe Tax, or initiating payments.
- The Payment Intents API is a lower-level API that only focuses on modelling the payments step. Unlike the Checkout Sessions API, which requires line item details, you only pass in the final amount you want to charge. To use Stripe to calculate applicable taxes or create subscriptions, you need to integrate with the Stripe Tax API or Subscriptions API.
![Checkout Sessions versus Payment Intents API](https://b.stripecdn.com/docs-statics-srv/assets/checkout-sessions-vs-payment-intents.9395694871e31814befdc186bb6ab4d4.png)
Comparing the Checkout Sessions and Payment Intents APIs
Because the Checkout Sessions API uses line_items, it integrates natively with other Stripe products such as Stripe Tax and Stripe Billing. However, you can also integrate with these products using the Payment Intents API in combination with other standalone Stripe APIs.