diff --git a/src/Tpay/GatewayName.php b/src/Tpay/GatewayName.php index 6b3cf3a6..b641e7a4 100644 --- a/src/Tpay/GatewayName.php +++ b/src/Tpay/GatewayName.php @@ -14,7 +14,7 @@ class GatewayName public const GOOGLE_PAY = 'tpay_google_pay'; - public const PAY_BY_LINK = 'tpay_pay_by_link'; + public const PAY_BY_LINK = 'tpay_pbl'; public const REDIRECT = 'tpay_redirect'; diff --git a/templates/shop/cart/complete/_payByLink.html.twig b/templates/shop/cart/complete/_payByLink.html.twig index 2fe29b60..0188e246 100644 --- a/templates/shop/cart/complete/_payByLink.html.twig +++ b/templates/shop/cart/complete/_payByLink.html.twig @@ -1,6 +1,5 @@ {% set payment = order.lastCartPayment() %} -{% if payment is not null and payment.method.gatewayConfig.gatewayName == 'tpay_pbl' -%} +{% if payment is not null and payment.method.gatewayConfig.gatewayName == 'tpay_pbl' %} {% include '@CommerceWeaversSyliusTpayPlugin/shop/payment/_payByLink.html.twig' %} {% endif %}