feat(MED-99): use montonio api and webhook

This commit is contained in:
2025-07-17 10:08:52 +03:00
parent 00b079e170
commit 02bb9f7d34
19 changed files with 813 additions and 143 deletions

View File

@@ -30,6 +30,13 @@ export function createBillingEventHandlerFactoryService(
return new StripeWebhookHandlerService(planTypesMap);
});
// Register the Montonio webhook handler
billingWebhookHandlerRegistry.register('montonio', async () => {
const { MontonioWebhookHandlerService } = await import('@kit/montonio');
return new MontonioWebhookHandlerService();
});
// Register the Lemon Squeezy webhook handler
billingWebhookHandlerRegistry.register('lemon-squeezy', async () => {
const { LemonSqueezyWebhookHandlerService } = await import(