Button Checkout¶
A component that creates a Stripe Checkout session for handling payments. Use this for both one-time payments and subscriptions.
Usage¶
Choose the mode based on your payment type:
mode="payment"
for one-time payments (default)mode="subscription"
for recurring payments (e.g., monthly memberships)
This component is a key part of handling Stripe subscriptions and one-time payments.