Light bulbGet the 40% off on ZexaNext for first 50 users

Docs
Checkout Button

Checkout Button

This component is used to redirect to checkout page for payment. You can create product in Stripe dashboard and use the priceId to create a checkout session.

import { ButtonCheckout } from "@/components/button-checkout";
<ButtonCheckout
    className="w-full"
    priceId={plan.priceId}
    mode="payment"
    variant={plan.mostPopular ? "default" : "outline"}
/>