Files
myeasycms-v2/packages/database-webhooks
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-03-30 14:51:16 +08:00
2024-03-30 14:51:16 +08:00

Database Webhooks - @kit/database-webhooks

This package is responsible for handling webhooks from database changes.

For example:

  1. when an account is deleted, we handle the cleanup of all related data in the third-party services.
  2. when a user is invited, we send an email to the user.
  3. when an account member is added, we update the subscription in the third-party services