diff --git a/.env_example b/.env_example index d8624b1ec..b77b87bc0 100644 --- a/.env_example +++ b/.env_example @@ -42,7 +42,3 @@ ALGOLIA_API_KEY=684d998c36b67a9a9fce8fc2d8860579 # SENTRY_AUTH_TOKEN=private-token # get from sentry # SENTRY_ORG=comfy-org # SENTRY_PROJECT=cloud-frontend-staging - -# Stripe pricing table configuration (used by feature-flagged subscription tiers UI) -# VITE_STRIPE_PUBLISHABLE_KEY=pk_test_123 -# VITE_STRIPE_PRICING_TABLE_ID=prctbl_123 diff --git a/global.d.ts b/global.d.ts index d24c7c40b..7f7dd832f 100644 --- a/global.d.ts +++ b/global.d.ts @@ -13,8 +13,6 @@ interface Window { max_upload_size?: number comfy_api_base_url?: string comfy_platform_base_url?: string - stripe_publishable_key?: string - stripe_pricing_table_id?: string firebase_config?: { apiKey: string authDomain: string diff --git a/src/locales/en/main.json b/src/locales/en/main.json index f2bb751e3..f021b1138 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -1996,12 +1996,6 @@ "waitingForSubscription": "Complete your subscription in the new tab. We'll automatically detect when you're done!", "subscribe": "Subscribe" }, - "pricingTable": { - "description": "Access cloud-powered ComfyUI workflows with straightforward, usage-based pricing.", - "loading": "Loading pricing options...", - "loadError": "We couldn't load the pricing table. Please refresh and try again.", - "missingConfig": "Stripe pricing table configuration missing. Provide the publishable key and pricing table ID via remote config or .env." - }, "subscribeToRun": "Subscribe", "subscribeToRunFull": "Subscribe to Run", "subscribeNow": "Subscribe Now", diff --git a/src/platform/remoteConfig/types.ts b/src/platform/remoteConfig/types.ts index 4ac7d2831..e2660853b 100644 --- a/src/platform/remoteConfig/types.ts +++ b/src/platform/remoteConfig/types.ts @@ -39,6 +39,4 @@ export type RemoteConfig = { private_models_enabled?: boolean subscription_tiers_enabled?: boolean onboarding_survey_enabled?: boolean - stripe_publishable_key?: string - stripe_pricing_table_id?: string } diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index e02fab73a..5080e6ba7 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -18,8 +18,7 @@ declare global { } interface ImportMetaEnv { - readonly VITE_STRIPE_PUBLISHABLE_KEY?: string - readonly VITE_STRIPE_PRICING_TABLE_ID?: string + VITE_APP_VERSION?: string } interface ImportMeta {