From dee0814e6d0ae760d84b2acf38f2bbb72d93d165 Mon Sep 17 00:00:00 2001 From: giancarlo Date: Mon, 1 Apr 2024 21:47:31 +0800 Subject: [PATCH] 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. --- packages/billing/lemon-squeezy/README.md | 13 +++++++++++++ packages/billing/stripe/README.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 packages/billing/lemon-squeezy/README.md create mode 100644 packages/billing/stripe/README.md diff --git a/packages/billing/lemon-squeezy/README.md b/packages/billing/lemon-squeezy/README.md new file mode 100644 index 000000000..7fdd84632 --- /dev/null +++ b/packages/billing/lemon-squeezy/README.md @@ -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. \ No newline at end of file diff --git a/packages/billing/stripe/README.md b/packages/billing/stripe/README.md new file mode 100644 index 000000000..dbdef266e --- /dev/null +++ b/packages/billing/stripe/README.md @@ -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. \ No newline at end of file