Stripe Configuration
Guide to configure and customize Stripe integration in NextEasy
Stripe Configuration
NextEasy comes with built-in Stripe integration for handling payments and subscriptions. This guide will help you set up and customize the Stripe configuration for your project.
Setting Up Stripe
- Create a Stripe account if you haven't already at stripe.com.
- Obtain your Stripe API keys from the Stripe Dashboard.
- During the setup process (
npm run setup), you'll be prompted to enter your Stripe Secret Key. This will be stored in your.envfile.
Configuring Stripe Products and Prices
To set up Stripe products and prices:
- Open
config.tsin the root directory - Locate the
stripe.productsarray - Update each product with your Stripe Price ID, name, description, price (in cents), and features.
ps: You can find the price ID in the Stripe Dashboard.