feat(MED-99): use montonio api and webhook
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user