From 781599de6244520dcd4c7d924c9ee0052ed20734 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Thu, 4 Apr 2024 10:09:18 -0400 Subject: [PATCH] Added a feature flag for additional payment methods ref ENG-812 ref https://linear.app/tryghost/issue/ENG-812 --- .../src/components/settings/advanced/labs/AlphaFeatures.tsx | 4 ++++ ghost/core/core/shared/labs.js | 1 + 2 files changed, 5 insertions(+) diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx index 1340e93b61..b6e24afea0 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx @@ -59,6 +59,10 @@ const features = [{ title: 'NestJS Playground', description: 'Wires up the Ghost NestJS App to the Admin API', flag: 'NestPlayground' +},{ + title: 'Additional payment methods', + description: 'Adds support for additional payment methods in Stripe Checkout', + flag: 'additionalPaymentMethods' }]; const AlphaFeatures: React.FC = () => { diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index cbd27861d5..5bc4b6cb5a 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -36,6 +36,7 @@ const BETA_FEATURES = [ ]; const ALPHA_FEATURES = [ + 'additionalPaymentMethods', 'NestPlayground', 'urlCache', 'lexicalMultiplayer',