Payments
Handling Stripe Test Data
When you run the npm run setup command for the first time, Stripe gets seeded with some dummy products and pricing plans.
You can delete the products here: https://dashboard.stripe.com/test/products?active=true
Or, you can delete the entire test data (products, prices, logs, etc.) here: https://dashboard.stripe.com/test/developers

In case you want to edit the existing products or prices or pricing tiers or add new ones, you can add it directly in your Stripe Dashboard or make the required changes in prisma/schema.prisma and scripts/config.ts files and run the npm run setup command again.
Stripe Production Guide
Toggle off the Test Mode.
Copy the
Secret keyfrom https://dashboard.stripe.com/apikeys and use it as the value ofSTRIPE_SECRET_KEYin your production environment variables.Click on
+ Add endpoint. Usehttps://www.{YOUR_DOMAIN}/api/webhook/. Selectcheckout.session.completedevent and others if you have modified theapi.webhook.tsfile. Copy the signing secret and add it toSTRIPE_ENDPOINT_SECRETin your production environment variables.
Last updated