diff --git a/packages/shared-billing/src/services/billing.services.ts b/packages/shared-billing/src/services/billing.services.ts index 75560be..fdaea52 100644 --- a/packages/shared-billing/src/services/billing.services.ts +++ b/packages/shared-billing/src/services/billing.services.ts @@ -174,7 +174,7 @@ export class WebhookService { return stripe.webhooks.constructEvent( rawBody, signature, - process.env.STRIPE_WEBHOOK_SECRET! + config.stripe.webhookSecret ); }