Files
myeasycms-v2/packages/billing/stripe
giancarlo ebb8fc08fe Add custom handlers for billing events
The code introduces custom handlers for different billing events like subscription deletion, subscription update, checkout session completion, payment successes and failures, invoice payment,  and a generic event handler. These customer handlers allow consumers to add their own custom behaviors when certain billing events occur. This flexibility can be utilized to better adapt the system to various business requirements and rules. Also, the invoice payment event and a generic event handler were added.
2024-04-16 11:55:43 +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.