Stripe redirectToCheckout is gone: hosted Checkout in the Next.js App Router, from an animated cart

Stripe removed redirectToCheckout. Stripe's changelog for the 2025-09-30.clover release says the method is no longer supported in Stripe.js, and @stripe/stripe-js 8.0.0 dropped its types, so code that called stripe.redirectToCheckout({ sessionId }) breaks on upgrade. The fix is simpler than the old way: your server creates the Checkout Session and the browser goes to session.url. This page does that in the Next.js App Router with a Server Action, shows the free form version in full, then puts it behind the Checkout button of an animated cart drawer, with the thanks page and the webhook.

Stack Cart Drawer, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript