From e682289eb7811463be14cb5bf7526b2c6e72bb70 Mon Sep 17 00:00:00 2001
From: Robin Huang
Date: Thu, 6 Aug 2026 20:08:24 -0700
Subject: [PATCH 1/3] feat(website): link to status.comfy.org from the failed
payment page
---
apps/website/e2e/payment.spec.ts | 12 ++++++++++++
.../src/components/payment/PaymentStatusSection.vue | 12 ++++++++++--
apps/website/src/i18n/translations.ts | 4 ++++
3 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/apps/website/e2e/payment.spec.ts b/apps/website/e2e/payment.spec.ts
index 528b7f839b6..e80847ba39d 100644
--- a/apps/website/e2e/payment.spec.ts
+++ b/apps/website/e2e/payment.spec.ts
@@ -8,6 +8,7 @@ const CLOUD_URL = externalLinks.cloud
const PLATFORM_USAGE_URL = externalLinks.platformUsage
const SUPPORT_URL = externalLinks.support
const DOCS_SUBSCRIPTION_URL = externalLinks.docsSubscription
+const STATUS_URL = externalLinks.cloudStatus
async function expectNoIndex(page: Page) {
await expect(page.locator('meta[name="robots"]')).toHaveAttribute(
@@ -79,6 +80,14 @@ test.describe('Payment failed page @smoke', () => {
await expect(cta).toBeVisible()
await expect(cta).toHaveAttribute('href', DOCS_SUBSCRIPTION_URL)
})
+
+ test('offers the status page so an outage can be ruled out', async ({
+ page
+ }) => {
+ const link = page.getByRole('link', { name: /CHECK SYSTEM STATUS/i })
+ await expect(link).toBeVisible()
+ await expect(link).toHaveAttribute('href', STATUS_URL)
+ })
})
test.describe('Payment pages zh-CN @smoke', () => {
@@ -111,5 +120,8 @@ test.describe('Payment pages zh-CN @smoke', () => {
await expect(
page.getByRole('link', { name: '查看订阅文档' })
).toHaveAttribute('href', DOCS_SUBSCRIPTION_URL)
+ await expect(
+ page.getByRole('link', { name: '查看系统状态' })
+ ).toHaveAttribute('href', STATUS_URL)
})
})
diff --git a/apps/website/src/components/payment/PaymentStatusSection.vue b/apps/website/src/components/payment/PaymentStatusSection.vue
index 0d8aec3f1ea..f56aa957c19 100644
--- a/apps/website/src/components/payment/PaymentStatusSection.vue
+++ b/apps/website/src/components/payment/PaymentStatusSection.vue
@@ -75,13 +75,13 @@ const iconRingClass =
{{ t(`payment.${status}.label`, locale) }}
{{ t(`payment.${status}.title`, locale) }}
{{ t(`payment.${status}.subtitle`, locale) }}
@@ -96,6 +96,14 @@ const iconRingClass =
{{ t(`payment.${status}.secondaryCta`, locale) }}
+
+
+ {{ t('payment.failed.statusLink', locale) }}
+
diff --git a/apps/website/src/i18n/translations.ts b/apps/website/src/i18n/translations.ts
index c93403e179f..ab2c1fb24f4 100644
--- a/apps/website/src/i18n/translations.ts
+++ b/apps/website/src/i18n/translations.ts
@@ -4615,6 +4615,10 @@ const translations = {
en: 'READ SUBSCRIPTION DOCS',
'zh-CN': '查看订阅文档'
},
+ 'payment.failed.statusLink': {
+ en: 'CHECK SYSTEM STATUS',
+ 'zh-CN': '查看系统状态'
+ },
// AffiliateHeroSection
'affiliate.hero.label': { en: 'AFFILIATE', 'zh-CN': '联盟' },
From 6ea46bfe11a3f8158f238038966e326f63dcd3a2 Mon Sep 17 00:00:00 2001
From: Robin Huang
Date: Thu, 6 Aug 2026 20:14:56 -0700
Subject: [PATCH 2/3] refactor(website): spell out the status and support
guidance in prose
---
apps/website/e2e/payment.spec.ts | 20 ++++++++++++----
.../payment/PaymentStatusSection.vue | 23 +++++++++++++++----
apps/website/src/i18n/translations.ts | 22 +++++++++++++++---
3 files changed, 52 insertions(+), 13 deletions(-)
diff --git a/apps/website/e2e/payment.spec.ts b/apps/website/e2e/payment.spec.ts
index e80847ba39d..03b84c0fad6 100644
--- a/apps/website/e2e/payment.spec.ts
+++ b/apps/website/e2e/payment.spec.ts
@@ -81,12 +81,19 @@ test.describe('Payment failed page @smoke', () => {
await expect(cta).toHaveAttribute('href', DOCS_SUBSCRIPTION_URL)
})
- test('offers the status page so an outage can be ruled out', async ({
+ test('points at the status page and support so an outage can be ruled out', async ({
page
}) => {
- const link = page.getByRole('link', { name: /CHECK SYSTEM STATUS/i })
- await expect(link).toBeVisible()
- await expect(link).toHaveAttribute('href', STATUS_URL)
+ const statusLink = page.getByRole('link', {
+ name: 'status page',
+ exact: true
+ })
+ await expect(statusLink).toBeVisible()
+ await expect(statusLink).toHaveAttribute('href', STATUS_URL)
+
+ const supportLink = page.getByRole('link', { name: 'support', exact: true })
+ await expect(supportLink).toBeVisible()
+ await expect(supportLink).toHaveAttribute('href', SUPPORT_URL)
})
})
@@ -121,7 +128,10 @@ test.describe('Payment pages zh-CN @smoke', () => {
page.getByRole('link', { name: '查看订阅文档' })
).toHaveAttribute('href', DOCS_SUBSCRIPTION_URL)
await expect(
- page.getByRole('link', { name: '查看系统状态' })
+ page.getByRole('link', { name: '状态页面', exact: true })
).toHaveAttribute('href', STATUS_URL)
+ await expect(
+ page.getByRole('link', { name: '支持团队', exact: true })
+ ).toHaveAttribute('href', SUPPORT_URL)
})
})
diff --git a/apps/website/src/components/payment/PaymentStatusSection.vue b/apps/website/src/components/payment/PaymentStatusSection.vue
index f56aa957c19..f0b7efc1fd5 100644
--- a/apps/website/src/components/payment/PaymentStatusSection.vue
+++ b/apps/website/src/components/payment/PaymentStatusSection.vue
@@ -97,13 +97,26 @@ const iconRingClass =
-
- {{ t('payment.failed.statusLink', locale) }}
-
+ {{ t('payment.failed.statusPrompt.prefix', locale) }}
+
+ {{ t('payment.failed.statusPrompt.statusLink', locale) }}
+
+ {{ t('payment.failed.statusPrompt.middle', locale) }}
+
+ {{ t('payment.failed.statusPrompt.supportLink', locale) }}
+
+ {{ t('payment.failed.statusPrompt.suffix', locale) }}
+
diff --git a/apps/website/src/i18n/translations.ts b/apps/website/src/i18n/translations.ts
index ab2c1fb24f4..ef80c7c9dd8 100644
--- a/apps/website/src/i18n/translations.ts
+++ b/apps/website/src/i18n/translations.ts
@@ -4615,9 +4615,25 @@ const translations = {
en: 'READ SUBSCRIPTION DOCS',
'zh-CN': '查看订阅文档'
},
- 'payment.failed.statusLink': {
- en: 'CHECK SYSTEM STATUS',
- 'zh-CN': '查看系统状态'
+ 'payment.failed.statusPrompt.prefix': {
+ en: 'Check our',
+ 'zh-CN': '请查看我们的'
+ },
+ 'payment.failed.statusPrompt.statusLink': {
+ en: 'status page',
+ 'zh-CN': '状态页面'
+ },
+ 'payment.failed.statusPrompt.middle': {
+ en: 'for more information. Please reach out to',
+ 'zh-CN': '了解更多信息。如果问题仍未解决,请联系'
+ },
+ 'payment.failed.statusPrompt.supportLink': {
+ en: 'support',
+ 'zh-CN': '支持团队'
+ },
+ 'payment.failed.statusPrompt.suffix': {
+ en: 'if your issue persists.',
+ 'zh-CN': '获取进一步帮助。'
},
// AffiliateHeroSection
From d30d0b13b7e891c217b5aab155879e394a4db654 Mon Sep 17 00:00:00 2001
From: Robin Huang
Date: Thu, 6 Aug 2026 20:27:49 -0700
Subject: [PATCH 3/3] refactor(website): drop the support sentence, the CTA
already covers it
---
apps/website/e2e/payment.spec.ts | 9 +--------
.../src/components/payment/PaymentStatusSection.vue | 7 -------
apps/website/src/i18n/translations.ts | 12 ++----------
3 files changed, 3 insertions(+), 25 deletions(-)
diff --git a/apps/website/e2e/payment.spec.ts b/apps/website/e2e/payment.spec.ts
index 03b84c0fad6..e78f931fc65 100644
--- a/apps/website/e2e/payment.spec.ts
+++ b/apps/website/e2e/payment.spec.ts
@@ -81,7 +81,7 @@ test.describe('Payment failed page @smoke', () => {
await expect(cta).toHaveAttribute('href', DOCS_SUBSCRIPTION_URL)
})
- test('points at the status page and support so an outage can be ruled out', async ({
+ test('points at the status page so an outage can be ruled out', async ({
page
}) => {
const statusLink = page.getByRole('link', {
@@ -90,10 +90,6 @@ test.describe('Payment failed page @smoke', () => {
})
await expect(statusLink).toBeVisible()
await expect(statusLink).toHaveAttribute('href', STATUS_URL)
-
- const supportLink = page.getByRole('link', { name: 'support', exact: true })
- await expect(supportLink).toBeVisible()
- await expect(supportLink).toHaveAttribute('href', SUPPORT_URL)
})
})
@@ -130,8 +126,5 @@ test.describe('Payment pages zh-CN @smoke', () => {
await expect(
page.getByRole('link', { name: '状态页面', exact: true })
).toHaveAttribute('href', STATUS_URL)
- await expect(
- page.getByRole('link', { name: '支持团队', exact: true })
- ).toHaveAttribute('href', SUPPORT_URL)
})
})
diff --git a/apps/website/src/components/payment/PaymentStatusSection.vue b/apps/website/src/components/payment/PaymentStatusSection.vue
index f0b7efc1fd5..bff1a0a0e47 100644
--- a/apps/website/src/components/payment/PaymentStatusSection.vue
+++ b/apps/website/src/components/payment/PaymentStatusSection.vue
@@ -108,13 +108,6 @@ const iconRingClass =
>
{{ t('payment.failed.statusPrompt.statusLink', locale) }}
- {{ t('payment.failed.statusPrompt.middle', locale) }}
-
- {{ t('payment.failed.statusPrompt.supportLink', locale) }}
-
{{ t('payment.failed.statusPrompt.suffix', locale) }}
diff --git a/apps/website/src/i18n/translations.ts b/apps/website/src/i18n/translations.ts
index ef80c7c9dd8..bd0a3a53f4e 100644
--- a/apps/website/src/i18n/translations.ts
+++ b/apps/website/src/i18n/translations.ts
@@ -4623,17 +4623,9 @@ const translations = {
en: 'status page',
'zh-CN': '状态页面'
},
- 'payment.failed.statusPrompt.middle': {
- en: 'for more information. Please reach out to',
- 'zh-CN': '了解更多信息。如果问题仍未解决,请联系'
- },
- 'payment.failed.statusPrompt.supportLink': {
- en: 'support',
- 'zh-CN': '支持团队'
- },
'payment.failed.statusPrompt.suffix': {
- en: 'if your issue persists.',
- 'zh-CN': '获取进一步帮助。'
+ en: 'for more information.',
+ 'zh-CN': '了解更多信息。'
},
// AffiliateHeroSection