diff --git a/templates/admin/payment_method/test_connection.html.twig b/templates/admin/payment_method/test_connection.html.twig index 938ac992..2c40d92f 100644 --- a/templates/admin/payment_method/test_connection.html.twig +++ b/templates/admin/payment_method/test_connection.html.twig @@ -1,4 +1,4 @@ -{% if resource.gatewayConfig.factoryName == 'tpay_pbl' %} +{% if resource.gatewayConfig.factoryName|slice(0, 5) == 'tpay_' or resource.gatewayConfig.factoryName == 'tpay' %}
{{ 'commerce_weavers_sylius_tpay.admin.gateway_configuration.test_connection'|trans }}