From 6af5bc1376cc885dbfef42a97db06b68485318cb Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Tue, 20 Jan 2026 21:52:28 +0100 Subject: [PATCH 1/3] feat(support): add EUR IBAN technical issue notice --- src/screens/support.screen.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/screens/support.screen.tsx b/src/screens/support.screen.tsx index 39679c50d..57cb3bea5 100644 --- a/src/screens/support.screen.tsx +++ b/src/screens/support.screen.tsx @@ -1,4 +1,4 @@ -import { DfxIcon, IconColor, IconVariant, StyledVerticalStack } from '@dfx.swiss/react-components'; +import { DfxIcon, IconColor, IconVariant, StyledInfoText, StyledVerticalStack } from '@dfx.swiss/react-components'; import { FaTelegram } from 'react-icons/fa'; import { IoMdHelpCircle } from 'react-icons/io'; import { MdEditSquare } from 'react-icons/md'; @@ -6,14 +6,28 @@ import { useSettingsContext } from 'src/contexts/settings.context'; import { useLayoutOptions } from 'src/hooks/layout-config.hook'; import { useNavigation } from '../hooks/navigation.hook'; +const EUR_IBAN_NOTICE_EXPIRES = new Date('2026-02-03'); + export default function SupportScreen(): JSX.Element { const { navigate } = useNavigation(); const { translate, language } = useSettingsContext(); + const showEurIbanNotice = new Date() < EUR_IBAN_NOTICE_EXPIRES; + useLayoutOptions({ title: translate('navigation/links', 'Support'), onBack: undefined }); return ( + {showEurIbanNotice && ( +
+ + {translate( + 'screens/support', + 'The existing EUR IBAN (CH8583019DFXSWISSEURX) is currently experiencing technical issues. Please use your personal IBAN for EUR transactions instead. You can find your personal IBAN on the Buy page.', + )} + +
+ )} Date: Tue, 20 Jan 2026 22:04:56 +0100 Subject: [PATCH 2/3] Add DE, FR, IT translations for EUR IBAN support notice --- src/translations/languages/de.json | 1 + src/translations/languages/fr.json | 1 + src/translations/languages/it.json | 1 + 3 files changed, 3 insertions(+) diff --git a/src/translations/languages/de.json b/src/translations/languages/de.json index 1ec72d2c9..8c0a80b62 100644 --- a/src/translations/languages/de.json +++ b/src/translations/languages/de.json @@ -874,6 +874,7 @@ "Support": "Support", "Support tickets": "Support-Tickets", "View tickets": "Tickets anzeigen", + "The existing EUR IBAN (CH8583019DFXSWISSEURX) is currently experiencing technical issues. Please use your personal IBAN for EUR transactions instead. You can find your personal IBAN on the Buy page.": "Die bestehende EUR-IBAN (CH8583019DFXSWISSEURX) hat derzeit technische Probleme. Bitte verwende stattdessen deine persönliche IBAN für EUR-Transaktionen. Du findest deine persönliche IBAN auf der Kaufseite.", "Support issue": "Supportanfrage", "The issue has been successfully submitted. You will be contacted by email.": "Die Anfrage wurde erfolgreich eingereicht. Du wirst per E-Mail kontaktiert.", diff --git a/src/translations/languages/fr.json b/src/translations/languages/fr.json index 6165192db..71d1972ea 100644 --- a/src/translations/languages/fr.json +++ b/src/translations/languages/fr.json @@ -873,6 +873,7 @@ "screens/support": { "Support": "Support", "Support tickets": "Tickets de support", + "The existing EUR IBAN (CH8583019DFXSWISSEURX) is currently experiencing technical issues. Please use your personal IBAN for EUR transactions instead. You can find your personal IBAN on the Buy page.": "L'IBAN EUR existant (CH8583019DFXSWISSEURX) rencontre actuellement des problèmes techniques. Veuillez utiliser votre IBAN personnel pour les transactions en EUR. Vous trouverez votre IBAN personnel sur la page d'achat.", "Support issue": "Demande de support", "The issue has been successfully submitted. You will be contacted by email.": "La demande a été soumise avec succès. Vous serez contacté par e-mail.", diff --git a/src/translations/languages/it.json b/src/translations/languages/it.json index 7808acb43..0d7d26a9f 100644 --- a/src/translations/languages/it.json +++ b/src/translations/languages/it.json @@ -873,6 +873,7 @@ "screens/support": { "Support": "Supporto", "Support tickets": "Ticket di supporto", + "The existing EUR IBAN (CH8583019DFXSWISSEURX) is currently experiencing technical issues. Please use your personal IBAN for EUR transactions instead. You can find your personal IBAN on the Buy page.": "L'IBAN EUR esistente (CH8583019DFXSWISSEURX) sta attualmente riscontrando problemi tecnici. Si prega di utilizzare il proprio IBAN personale per le transazioni in EUR. Puoi trovare il tuo IBAN personale nella pagina Acquista.", "Support issue": "Problema di supporto", "The issue has been successfully submitted. You will be contacted by email.": "Il problema è stato inviato con successo. Sarete contattati via e-mail.", From 31ee7ce1bb684996cdf1e2fd9c35cf1d6f0c0f73 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Tue, 20 Jan 2026 22:13:08 +0100 Subject: [PATCH 3/3] fix(test): add KycRequired to expected errors in buy-api test --- src/__tests__/api/buy-api.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/api/buy-api.test.ts b/src/__tests__/api/buy-api.test.ts index 19b46fb6a..b8872a80e 100644 --- a/src/__tests__/api/buy-api.test.ts +++ b/src/__tests__/api/buy-api.test.ts @@ -234,7 +234,7 @@ describe('Buy Process - API Integration', () => { if (result.error) { console.log(`Payment info creation returned error: ${result.error} (status: ${result.status})`); - const expectedErrors = ['Trading not allowed', 'RecommendationRequired', 'EmailRequired', 'KYC required', 'User not found', 'Ident data incomplete']; + const expectedErrors = ['Trading not allowed', 'RecommendationRequired', 'EmailRequired', 'KYC required', 'KycRequired', 'User not found', 'Ident data incomplete']; const isExpectedError = expectedErrors.some((e) => result.error?.includes(e)); if (isExpectedError) { console.log('Skipping test - account restriction');