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.
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.