ComponentsButton Checkout
Opens a Stripe Checkout session. Perfect for a one-time payment or a subscription. By default the user must be logged in to checkout. You can change that in the /api/stripe/create-checkout
API route
page.js
1import ButtonCheckout from "@/components/ButtonCheckout";
Updated on: Tuesday, September 5, 2023
Looking for UI-only components like buttons, inputs, etc? It's all available with daisyUI. See this guide for more info.