Hooks
useCheckout()
The useCheckout() hook returns a function that handles the full checkout flow for the current user. It verifies authentication, checks for active subscriptions, and redirects the user to a Stripe checkout session.
Usage
Unlock full documentation
This part of the documentation are for members only. Please upgrade your plan to unlock this section.