Quick Start
Payment
In this section, we will set up the payment for the application.
In MVPinMinutes, we use the Lemon Squeezy to handle the payment.
Create Store in Lemon Squeezy
- Head over to Lemon Squeezy. And create a free account.
- Create a new store.
- Get the store Id
- Click the settings and go to the API section and create a new api key.
- Copy the api key and paste it in the
.env.localfile.
Setup the webhook
- Go to the store settings and go to the webhooks section.
- Create a new webhook.
- Enter the webhook URL as
http://localhost:3000/api/webhooks/lemonsqueezy. (This is the webhook url for the local environment) - Click on the
Add Webhookbutton. - Copy the webhook secret and the webhook URL and paste it in the
.env.localfile.
Create a product
- Go to the products section and create a new product.
Note
Make sure add variations to the product - Enter the product name and price. Follow the lemon squeezy instructions to add the product.
- Click on the
Create Productbutton.
Video Tutorial
Coming soon...