From 797714f5aa6de88a1210bb201511aa07627d71fe Mon Sep 17 00:00:00 2001 From: Tanmay Deep Sharma Date: Thu, 6 Nov 2025 15:26:26 +0530 Subject: [PATCH] remove the billing config to render v2 --- .../dashboard/settings/billing/BillingWrapper.vue | 13 +------------ app/javascript/shared/store/globalConfig.js | 3 --- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/billing/BillingWrapper.vue b/app/javascript/dashboard/routes/dashboard/settings/billing/BillingWrapper.vue index f280607a8..11f9c924d 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/billing/BillingWrapper.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/billing/BillingWrapper.vue @@ -1,18 +1,7 @@ diff --git a/app/javascript/shared/store/globalConfig.js b/app/javascript/shared/store/globalConfig.js index 600fdd1a6..8abeba123 100644 --- a/app/javascript/shared/store/globalConfig.js +++ b/app/javascript/shared/store/globalConfig.js @@ -18,7 +18,6 @@ const { LOGO_DARK: logoDark, PRIVACY_URL: privacyURL, IS_ENTERPRISE: isEnterprise, - STRIPE_BILLING_V2_ENABLED: stripeBillingV2Enabled, TERMS_URL: termsURL, WIDGET_BRAND_URL: widgetBrandURL, DISABLE_USER_PROFILE_UPDATE: disableUserProfileUpdate, @@ -47,7 +46,6 @@ const state = { termsURL, widgetBrandURL, isEnterprise: parseBoolean(isEnterprise), - stripeBillingV2Enabled: parseBoolean(stripeBillingV2Enabled), }; export const getters = { @@ -55,7 +53,6 @@ export const getters = { isOnChatwootCloud: $state => $state.deploymentEnv === 'cloud', isACustomBrandedInstance: $state => $state.installationName !== 'Chatwoot', isAChatwootInstance: $state => $state.installationName === 'Chatwoot', - isStripeBillingV2Enabled: $state => $state.stripeBillingV2Enabled, }; export const actions = {};