diff --git a/app/views/idv/setup_errors/show.html.erb b/app/views/idv/setup_errors/show.html.erb index 3769949e9f2..6633ca54579 100644 --- a/app/views/idv/setup_errors/show.html.erb +++ b/app/views/idv/setup_errors/show.html.erb @@ -11,7 +11,7 @@ title: t('titles.failure.information_not_verified'), heading: t('idv.failure.setup.heading'), ) do %> -
- <%= t('idv.failure.setup.fail_html', contact_form_link: link_to(t('idv.failure.setup.link_text'), contact_redirect_url(flow: :idv, step: :secure_account)), support_code: IdentityConfig.store.lexisnexis_threatmetrix_support_code) %> -
++ <%= t('idv.failure.setup.fail_html', support_code: IdentityConfig.store.lexisnexis_threatmetrix_support_code, contact_number: IdentityConfig.store.idv_contact_phone_number) %> +
<% end %> diff --git a/config/application.yml.default b/config/application.yml.default index bf3a6768f5d..3b2ae8daecc 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -112,6 +112,7 @@ identity_pki_disabled: false identity_pki_local_dev: false idv_attempt_window_in_hours: 6 idv_contact_url: https://www.example.com +idv_contact_phone_number: (844) 555-5555 idv_max_attempts: 5 idv_min_age_years: 13 idv_acuant_sdk_version_default: '11.7.1' diff --git a/config/locales/idv/en.yml b/config/locales/idv/en.yml index 2abe8540b18..cdd9734b7d3 100644 --- a/config/locales/idv/en.yml +++ b/config/locales/idv/en.yml @@ -82,10 +82,10 @@ en: warning: Please check the information you entered and try again. Common mistakes are an incorrect Social Security number or ZIP Code. setup: - fail_html: Please %{contact_form_link} and enter the code %{support_code} - in the detail field. - heading: There is an issue with your information - link_text: fill out our contact form + fail_html: 'Please call our contact center at %{contact_number} + to continue verifying your identity. You will need to provide them + with the error code %{support_code}.' + heading: Please give us a call timeout: We are experiencing higher than usual wait time processing your request. Please try again. forgot_password: diff --git a/config/locales/idv/es.yml b/config/locales/idv/es.yml index 9bd67783ebe..456c3e188c3 100644 --- a/config/locales/idv/es.yml +++ b/config/locales/idv/es.yml @@ -88,10 +88,11 @@ es: Los errores más comunes suelen producirse al ingresar un Número de Seguridad Social o un Código Postal incorrecto. setup: - fail_html: Por favor, %{contact_form_link} e introduzca el código - %{support_code} en el campo de detalle. - heading: Hay un problema con tu información - link_text: rellene nuestro formulario decontacto + fail_html: Llame a nuestro centro de contacto al + %{contact_number} para seguir verificando su + identidad. Deberá proporcionarnos el código de error + %{support_code}. + heading: Llámenos timeout: Estamos experimentando un tiempo de espera superior al habitual al procesar su solicitud. Inténtalo de nuevo. forgot_password: diff --git a/config/locales/idv/fr.yml b/config/locales/idv/fr.yml index 655dd5783d7..a4fced6deed 100644 --- a/config/locales/idv/fr.yml +++ b/config/locales/idv/fr.yml @@ -91,10 +91,11 @@ fr: Les erreurs les plus courantes sont un numéro de sécurité sociale ou un code postal incorrect. setup: - fail_html: Veuillez %{contact_form_link} et entrer le code - %{support_code} dans le champ de détail. - heading: Il y a un problème avec vos informations - link_text: remplir notre formulaire de contact + fail_html: Veuillez appeler notre centre de contact au + %{contact_number} pour poursuivre la vérification de + votre identité. Vous devrez leur fournir le code d’erreur + %{support_code}. + heading: S’il vous plaît, appelez-nous timeout: Le temps d’attente pour le traitement de votre demande est plus long que d’habitude Veuillez réessayer. forgot_password: diff --git a/lib/identity_config.rb b/lib/identity_config.rb index a04dfe7fa62..70950f55f76 100644 --- a/lib/identity_config.rb +++ b/lib/identity_config.rb @@ -191,6 +191,7 @@ def self.build_store(config_map) config.add(:identity_pki_local_dev, type: :boolean) config.add(:idv_attempt_window_in_hours, type: :integer) config.add(:idv_contact_url, type: :string) + config.add(:idv_contact_phone_number, type: :string) config.add(:idv_max_attempts, type: :integer) config.add(:idv_min_age_years, type: :integer) config.add(:idv_acuant_sdk_version_default, type: :string) diff --git a/spec/views/idv/setup_errors/show.html.erb_spec.rb b/spec/views/idv/setup_errors/show.html.erb_spec.rb index e9699fe5419..d6021cb42a2 100644 --- a/spec/views/idv/setup_errors/show.html.erb_spec.rb +++ b/spec/views/idv/setup_errors/show.html.erb_spec.rb @@ -17,8 +17,8 @@ strip_tags( t( 'idv.failure.setup.fail_html', - contact_form_link: t('idv.failure.setup.link_text'), support_code: 'ABCD', + contact_number: '(844) 555-5555', ), ), )