A new method, queryUsage, has been added to the billing strategy classes and the gateway service to offer usage querying capabilities for Stripe and Lemon Squeezy. QueryBillingUsageSchema has also been introduced in the schema-related changes. Changes also include updates to the functions' comment descriptions. A minor tweak was made to the Button and Link components in the `faq/page.tsx' file.
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.