diff --git a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.phtml b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.phtml index 25503dfba..f71eda267 100644 --- a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.phtml +++ b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.phtml @@ -167,7 +167,7 @@ $('#payment-html').collapse('show'); }); } else { - var link = 'invoice/banklink/' + result.invoice_hash + '/' + result.gateway_id; + var link = '{{"invoice/banklink"|link}}' + '/' + result.invoice_hash + '/' + result.gateway_id; $('#payment-html-inner').html('Redirect to payment gateway'); $('#checkout').collapse('hide'); $('#checkout-inner').remove();