Files
myeasycms-v2/packages/billing/stripe
giancarlo 37c5e3ed76 Refactor logger usage and add discount field to checkout
This commit refactors the logger usage in various files to make it more streamlined and consistent. It also introduces a new 'enableDiscountField' feature for the checkout that can be toggled on specific products. This allows customers to apply discounts at checkout if the product or subscription plan has the 'enableDiscountField' set to true.
2024-04-10 22:04:38 +08:00
..
2024-04-01 21:43:18 +08:00

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:

STRIPE_SECRET_KEY=
STRIPE_WEBHOOKS_SECRET=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=

Add the variables to your production environment as well using your CI.