mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Returning code for redirection on payment completed
This commit is contained in:
parent
009444951a
commit
33cf4066d8
@ -397,7 +397,7 @@
|
||||
<!---->
|
||||
<button class="action-button" style="margin-top: 0px;">
|
||||
<bp-done-text>
|
||||
<span i18n="" class="i18n-return-to-merchant">Return to {{srvModel.StoreName}}</span>
|
||||
<span i18n="" class="i18n-return-to-merchant">Return to {{srvModel.storeName}}</span>
|
||||
</bp-done-text>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -155,14 +155,14 @@ function onDataCallback(jsonData) {
|
||||
$(".modal-dialog").removeClass("expired");
|
||||
}
|
||||
|
||||
//if (srvModel.merchantRefLink != "") {
|
||||
// $(".action-button").click(function () {
|
||||
// window.location.href = srvModel.merchantRefLink;
|
||||
// });
|
||||
//}
|
||||
//else {
|
||||
// $(".action-button").hide();
|
||||
//}
|
||||
if (srvModel.merchantRefLink != "") {
|
||||
$(".action-button").click(function () {
|
||||
window.location.href = srvModel.merchantRefLink;
|
||||
});
|
||||
}
|
||||
else {
|
||||
$(".action-button").hide();
|
||||
}
|
||||
|
||||
$(".modal-dialog").addClass("paid");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user