Files
myeasycms-v2/packages/billing/stripe
giancarlo 220a23e185 Implement updateSubscription feature and refactor billing services
This commit introduces the updateSubscription method to the BillingStrategyProviderService, ensuring that subscriptions can be updated within the billing core. Additionally, a refactor has been applied to the BillingGatewayFactoryService and stripe-billing-strategy.service to improve error handling and the robustness of subscription updates. Logging in the webhook route has been adjusted for clarity and the data model has been enhanced.
2024-04-04 20:15:12 +08:00
..
2024-04-01 21:43:18 +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.