function verifyPayment(orderId,method){
    var csrf=document.querySelector("meta[name=csrf-token]").content;
    fetch("system/verify.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","X-CSRF-Token":csrf},body:"system_action=verify&action=verify_payment&data[order_id]="+orderId+"&data[method]="+method+"&_csrf="+csrf}).then(r=>r.json()).then(d=>{if(d.success)alert("Verification: "+JSON.stringify(d.verification));else alert(d.error);});
}
function bridgeVerifyEtransfer(orderId){
    var csrf=document.querySelector("meta[name=csrf-token]").content;
    fetch("api/bridge.php?target=etransfer",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","X-CSRF-Token":csrf},body:"target=etransfer&data[order_id]="+orderId+"&_csrf="+csrf}).then(r=>r.json()).then(d=>void 0;
}
