MVP in Minutes
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

  1. Head over to Lemon Squeezy. And create a free account.
  2. Create a new store.
  3. Get the store Id
  4. Click the settings and go to the API section and create a new api key.
  5. Copy the api key and paste it in the .env.local file.
LEMONSQUEEZY_API_KEY=
LEMONSQUEEZY_STORE_ID=

Setup the webhook

  1. Go to the store settings and go to the webhooks section.
  2. Create a new webhook.
  3. Enter the webhook URL as http://localhost:3000/api/webhooks/lemonsqueezy. (This is the webhook url for the local environment)
  4. Click on the Add Webhook button.
  5. Copy the webhook secret and the webhook URL and paste it in the .env.local file.
LEMONSQUEEZY_WEBHOOK_SECRET=
LEMONSQUEEZY_WEBHOOK_URL=

Create a product

  1. Go to the products section and create a new product.

    Note

    Make sure add variations to the product
  2. Enter the product name and price. Follow the lemon squeezy instructions to add the product.
  3. Click on the Create Product button.

Video Tutorial

Coming soon...

On this page