Payments
Setup your pricing plans
We support both subscription and one-time payment for Stripe.
-
Create
Stripeaccount. -
Open Stripe dashboard and enable
Test mode:

-
Create your Stripe products
herethen add the product ids into/configs/pricing.tsxinStripePricingPlanslist. -
Copy API secret key in
hereinto.env:
- Setup webhook for local development:
-
Follow this
guideto download and runStripe CLIin your local machine. -
After running Stripe CLI, it will automatically generate the webhook secret, copy and paste into
.env:
- Active
Customer billing portalfor test mode.
We only support
monthandyearsubscription interval for now