Supersaas uses Stripe to provide a collection of payment utilities that you can use in your site. You can use use these utilities for
You can extend the functionality of the one time payment by using the useStripe
composable and the useStripePayment
composable.
import { usePayment } from "~/server/services/payment";
const checkoutLink = await usePayment("stripe").createCheckoutLink();
const createBillingSession = await usePayment("stripe").createBillingSession();
const cancelSubscription = await usePayment("stripe").cancelSubscription();