Stripe Embedded Checkout in Next.js: the embedded page first, then your own checkout UI

If you want Stripe's checkout on your own page with the least code, use Embedded Checkout: a Server Action creates the session, EmbeddedCheckoutProvider mounts Stripe's page in an iframe, and a return page reads the result. You can't style it with your CSS. This page shows what you can change, how to get a dark checkout, and how to switch to ui_mode elements when you want your own UI.

Receipt Morph Checkout, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript