Add EUA error texts

This commit is contained in:
Dave Shoreman 2024-12-24 05:09:37 +00:00
parent bea4ea3387
commit b11022cff6
No known key found for this signature in database
GPG Key ID: C920D1D63709F443
3 changed files with 9 additions and 1 deletions

View File

@ -5137,6 +5137,8 @@ $lang = array(
'nordigen_handler_error_contents_institution_invalid' => 'The provided institution-id is invalid or no longer valid.',
'nordigen_handler_error_heading_ref_invalid' => 'Invalid Reference',
'nordigen_handler_error_contents_ref_invalid' => 'GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.',
'nordigen_handler_error_heading_eua_failure' => 'EUA Failure',
'nordigen_handler_error_contents_eua_failure' => 'An error occurred during End User Agreement creation:',
'nordigen_handler_error_heading_not_found' => 'Invalid Requisition',
'nordigen_handler_error_contents_not_found' => 'GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.',
'nordigen_handler_error_heading_requisition_invalid_status' => 'Not Ready',
@ -5366,7 +5368,7 @@ $lang = array(
'peppol_plan_warning' => 'Enterprise plan required in order to use einvoicing over the PEPPOL network.',
'peppol_credits_info' => 'Ecredits are required to send and receive einvoices. These are charged on a per document basis.',
'buy_credits' => 'Buy E Credits',
'peppol_successfully_configured' => 'PEPPOL successsfully configured.',
'peppol_successfully_configured' => 'PEPPOL successsfully configured.',
'peppol_not_paid_message' => 'Enterprise plan required for PEPPOL. Please upgrade your plan.',
'peppol_country_not_supported' => 'PEPPOL network not yet available for this country.',
'peppol_disconnect' => 'Disconnect from the PEPPOL network',

View File

@ -5136,6 +5136,8 @@ $lang = array(
'nordigen_handler_error_contents_institution_invalid' => 'The provided institution-id is invalid or no longer valid.',
'nordigen_handler_error_heading_ref_invalid' => 'Invalid Reference',
'nordigen_handler_error_contents_ref_invalid' => 'GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.',
'nordigen_handler_error_heading_eua_failure' => 'EUA Failure',
'nordigen_handler_error_contents_eua_failure' => 'An error occurred during End User Agreement creation:',
'nordigen_handler_error_heading_not_found' => 'Invalid Requisition',
'nordigen_handler_error_contents_not_found' => 'GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.',
'nordigen_handler_error_heading_requisition_invalid_status' => 'Not Ready',

View File

@ -159,6 +159,10 @@
heading.innerHTML = "{{ ctrans('texts.nordigen_handler_error_heading_institution_invalid', [], $lang ?? 'en') }}";
contents.innerHTML = "{{ ctrans('texts.nordigen_handler_error_contents_institution_invalid', [], $lang ?? 'en') }}";
break;
case "eua-failure":
heading.innerHTML = "{{ ctrans('texts.nordigen_handler_error_heading_eua_failure', [], $lang ?? 'en') }}";
contents.innerHTML = "{{ ctrans('texts.nordigen_handler_error_contents_eua_failure', [], $lang ?? 'en') }} " + failedReason;
break;
// Confirm Screen Errors
case "ref-invalid":
heading.innerHTML = "{{ ctrans('texts.nordigen_handler_error_heading_ref_invalid', [], $lang ?? 'en') }}";