Returning code for redirection on payment completed

This commit is contained in:
lepipele 2017-10-27 00:13:14 -05:00
parent 009444951a
commit 33cf4066d8
2 changed files with 9 additions and 9 deletions

View File

@ -397,7 +397,7 @@
<!----> <!---->
<button class="action-button" style="margin-top: 0px;"> <button class="action-button" style="margin-top: 0px;">
<bp-done-text> <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> </bp-done-text>
</button> </button>
</div> </div>

View File

@ -155,14 +155,14 @@ function onDataCallback(jsonData) {
$(".modal-dialog").removeClass("expired"); $(".modal-dialog").removeClass("expired");
} }
//if (srvModel.merchantRefLink != "") { if (srvModel.merchantRefLink != "") {
// $(".action-button").click(function () { $(".action-button").click(function () {
// window.location.href = srvModel.merchantRefLink; window.location.href = srvModel.merchantRefLink;
// }); });
//} }
//else { else {
// $(".action-button").hide(); $(".action-button").hide();
//} }
$(".modal-dialog").addClass("paid"); $(".modal-dialog").addClass("paid");