function Callfundtransfer() { $("#page_main_div").load( "../html_modules/collfundtransfer.html", function () { document.getElementById("display_module_name").innerHTML = "Fund Transfer"; document.getElementById("module_name_for_save").value = "Fund Transfer"; getDefaultHeadFooterLinks("Fund Transfer"); } ); } function getcollbankdet() { var famount = $("#famount").val(); var fremarks = $("#fremarks").val(); if (famount == "") { alert("Enter the Amount"); $("#famount").val(""); return; } if (fremarks == "") { alert("Enter the Remarks"); $("#fremarks").val(""); return; } var datastring = "&famount=" + famount + "&fremarks=" + fremarks; $.ajax({ type: "POST", data: datastring, url: $host_url + "updatecollfunddet", success: function (responce) { responce = eval("(" + responce + ")"); if (responce.error_code == 0) { var button = ""; $.ajax({ type: "POST", async: false, data: "appno=" + responce.data.appno + "&funivcode=" + "041", url: "razorpay/pay.php", success: function (responce) { button = responce; }, }); /* Debit Cards 0.9%(txn >=2000) per transaction
Credit Cards 1% per transaction
Net Banking Rs. 10 per transaction
Paytm Wallet 1.2% per transaction
UPI 0.65%(txn >=2000) per transaction. Make Payment */ /* Charges */ var table = ``; var masbank = responce.data["masbank"]; console.log(masbank); for (var i = 0; i < masbank.length; i++) { table += ``; if (masbank[i]["fbank"] == "razorpay") { table += ``; } else { table += ``; } } console.log(table); /*var table = `
Logo Action
${button}
Make Payment
Logo Charges Action
Debit Cards 0.9%(txn >=2000) per transaction
Credit Cards 1% per transaction
Net Banking Rs. 10 per transaction
Paytm Wallet 1.2% per transaction
UPI 0.65%(txn >=2000) per transaction.
Make Payment
Debit Cards 0%(txn < 2000) per transaction
Credit Cards 0.9% per transaction
Net Banking Rs. 10 per transaction
All Wallet availabel 1.65% per transaction
UPI 12 per transaction (For any amount).
${button}
`;*/ $("#bankdet").show(); $("#bankdet").html(table); return; } else if (responce.error_code == -2) { alert(responce.data); return; } else { alert("Login again and enter"); return; } }, }); } function makepayment(payment, id, funivcode) { if (payment == "paytm") window.open( "Paytm/pgRedirect.php?productinfo=" + id + "&funivcode=" + funivcode ); if (payment == "axis") window.open( "axis/sampleEasyPay.php?productinfo=" + id + "&funivcode=" + funivcode ); if (payment == "hdfc") window.open( "hdfc/ccavRequestHandler.php?productinfo=" + id + "&funivcode=" + funivcode ); }