diff --git a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml
index b974ea885..fff5ade47 100644
--- a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml
+++ b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml
@@ -256,11 +256,9 @@
{{$t("This invoice has been paid")}}
-
+
+ {{$t("Return to StoreName", srvModel)}}
+
@@ -302,10 +300,9 @@
{{srvModel.orderId}}
-
-
- {{$t("Return to StoreName", srvModel)}}
-
+
+ {{$t("Return to StoreName", srvModel)}}
diff --git a/BTCPayServer/wwwroot/checkout/js/core.js b/BTCPayServer/wwwroot/checkout/js/core.js
index 35628b944..39c2af6cb 100644
--- a/BTCPayServer/wwwroot/checkout/js/core.js
+++ b/BTCPayServer/wwwroot/checkout/js/core.js
@@ -32,15 +32,6 @@ function onDataCallback(jsonData) {
$(".modal-dialog").removeClass("expired");
}
- if (srvModel.merchantRefLink !== "") {
- $(".action-button").click(function () {
- window.location.href = srvModel.merchantRefLink;
- });
- }
- else {
- $(".action-button").hide();
- }
-
$(".modal-dialog").addClass("paid");
resetTabsSlider();