diff --git a/core/server/services/members/config.js b/core/server/services/members/config.js index ab58b3f9ac..f03cf3f0db 100644 --- a/core/server/services/members/config.js +++ b/core/server/services/members/config.js @@ -192,6 +192,7 @@ class MembersConfigProvider { id: this._settingsCache.get('members_stripe_webhook_id'), secret: this._settingsCache.get('members_stripe_webhook_secret') }, + enablePromoCodes: this._config.get('enableStripePromoCodes'), product: { name: this._settingsCache.get('stripe_product_name') }, diff --git a/core/shared/config/defaults.json b/core/shared/config/defaults.json index 7d94776888..ac9ba3e15e 100644 --- a/core/shared/config/defaults.json +++ b/core/shared/config/defaults.json @@ -115,5 +115,6 @@ "adminFrameProtection": true, "sendWelcomeEmail": true, "stripeDirect": false, + "enableStripePromoCodes": false, "portal": false }