diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index dc003995f0..268183c6ec 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -71,6 +71,7 @@ export default class FeatureService extends Service { @feature('emailErrors') emailErrors; @feature('milestoneEmails') milestoneEmails; @feature('websockets') websockets; + @feature('stripeAutomaticTax') stripeAutomaticTax; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 6763c87faa..78d06774e8 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -252,6 +252,19 @@ +
+
+
+

Stripe Automatic Tax

+

+ Use Stripe Automatic Tax at Stripe Checkout. Needs to be enabled in Stripe +

+
+
+ +
+
+
{{/if}} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index f8e5cccbdf..7b1bb16f0a 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -37,7 +37,8 @@ const ALPHA_FEATURES = [ 'urlCache', 'lexicalEditor', 'websockets', - 'webmentionEmails' + 'webmentionEmails', + 'stripeAutomaticTax' ]; module.exports.GA_KEYS = [...GA_FEATURES];