Opens a Stripe Checkout session. Perfect for a one-time payment or a subscription.
Set mode="payment" for one-time payments or mode="subscription" for recurring payments like a monthly membership.
By default the user must be logged in to checkout to prevent potential disputes like a fraudulent payment with a fake email. You can change that in the /stripe/server.ts.
This component is used to create Stripe subscriptions and one-time payments.

$40 off for the first 3160 customers (6 left)

1 import ButtonCheckout from "@/components/button-checkout";
Tips
  • Try to cover an potential objections your visitors might have. For instance, if you're selling a course, you might want to add a question about the refund policy.
Updated on: Tuesday, June 21, 2024
Looking for UI-only components like buttons, inputs, etc? It's all available with daisyUI. See this guide for more info.