diff --git a/packages/fxa-auth-server/lib/payments/stripe.ts b/packages/fxa-auth-server/lib/payments/stripe.ts index d1d40deb41..d2a11cd76d 100644 --- a/packages/fxa-auth-server/lib/payments/stripe.ts +++ b/packages/fxa-auth-server/lib/payments/stripe.ts @@ -232,7 +232,9 @@ export class StripeHelper extends StripeHelperBase { this.webhookSecret = config.subscriptions.stripeWebhookSecret; this.taxIds = config.subscriptions.taxIds; this.currencyHelper = Container.get(CurrencyHelper); - this.contentfulManager = Container.get(ContentfulManager); + if (Container.has(ContentfulManager)) { + this.contentfulManager = Container.get(ContentfulManager); + } // Initializes caching this.initRedis();