diff --git a/apps/api/src/controllers/webhook.controller.ts b/apps/api/src/controllers/webhook.controller.ts index ccd447a2..788e2741 100644 --- a/apps/api/src/controllers/webhook.controller.ts +++ b/apps/api/src/controllers/webhook.controller.ts @@ -191,7 +191,9 @@ export async function polarWebhook( where: { subscriptionCustomerId: event.data.customer.id, subscriptionId: event.data.id, - subscriptionStatus: 'active', + subscriptionStatus: { + in: ['active', 'past_due', 'unpaid'], + }, }, });