Add documentation for Stripe and Lemon Squeezy billing packages

New README files have been added for the packages dealing with the Stripe and Lemon Squeezy billing systems. They explain the purpose of the packages and detail what environment variables need to be set for development and production.
This commit is contained in:
giancarlo
2024-04-01 21:47:31 +08:00
parent 8784a40a69
commit dee0814e6d
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Billing / Lemon Squeezy - @kit/lemon-squeezy
This package is responsible for handling all billing related operations using Lemon Squeezy.
Please add the following environment variables to your `.env.local` file during development:
```env
LEMON_SQUEEZY_SECRET_KEY=
LEMON_SQUEEZY_WEBHOOK_SECRET=
LEMON_SQUEEZY_STORE_ID=
```
Add the variables to your production environment as well using your CI.

View File

@@ -0,0 +1,13 @@
# Billing / Stripe - @kit/stripe
This package is responsible for handling all billing related operations using Stripe.
Please add the following environment variables to your `.env.local` file during development:
```env
STRIPE_SECRET_KEY=
STRIPE_WEBHOOKS_SECRET=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
```
Add the variables to your production environment as well using your CI.