fix: nfc not working with jade
This commit is contained in:
@@ -333,16 +333,16 @@ $(document).ready(function() {
|
||||
paid_amount: amountToReceive,
|
||||
receipt_no: receiptNo
|
||||
}, "pay_success");
|
||||
|
||||
setTimeout(() => {
|
||||
window.location.href = "/";
|
||||
}, 2000);
|
||||
}
|
||||
},
|
||||
error: (xhr, status, error) => {
|
||||
console.log("Error:", error);
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
window.location.href = "/";
|
||||
}, 1500);
|
||||
}
|
||||
|
||||
function checkPaymentStatus() {
|
||||
@@ -434,13 +434,16 @@ $(document).ready(function() {
|
||||
success: function(data) {
|
||||
if (data.status) {
|
||||
customer_display_view(null, "reload");
|
||||
window.location.href = "/";
|
||||
}
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.log("Error:", error);
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
window.location.href = "/";
|
||||
}, 1500);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user