ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/talentgenesis_admin_backend/src/html/ |
| Current File : /var/www/talentgenesis_admin_backend/src/html/paynimo.html |
<!doctype html>
<html>
<head>
<title>Checkout Demo</title>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1" />
<script src="https://www.paynimo.com/paynimocheckout/client/lib/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<button id="btnSubmit">Proceed to Pay</button>
<script type="text/javascript" src="https://www.paynimo.com/paynimocheckout/server/lib/checkout.js"></script>
<script type="text/javascript">
$(document).ready(function() {
function handleResponse(res) {
if (typeof res != "undefined" && typeof res.paymentMethod != "undefined" && typeof res.paymentMethod.paymentTransaction != "undefined" && typeof res.paymentMethod.paymentTransaction.statusCode != "undefined" && res.paymentMethod.paymentTransaction.statusCode == "0300") {
// success block
} else if (typeof res != "undefined" && typeof res.paymentMethod != "undefined" && typeof res.paymentMethod.paymentTransaction != "undefined" && typeof res.paymentMethod.paymentTransaction.statusCode != "undefined" && res.paymentMethod.paymentTransaction.statusCode == "0398") {
// initiated block
} else {
// error block
}
};
$(document).off("click", "#btnSubmit").on("click", "#btnSubmit", function(e) {
e.preventDefault();
var reqJson = {
"features": {
"enableAbortResponse": true,
"enableExpressPay": true,
"enableInstrumentDeRegistration" : true,
"enableMerTxnDetails": true,
"enableNewWindowFlow": true //for hybrid applications please disable this by passing false
},
"consumerData": {
"deviceId": "WEBSH2", //possible values "WEBSH1" or "WEBSH2"
"token": "82eaa91905a4491d3eecb2fd881ef77391b92ac6d87b4f87425d68fe148e3cd5da2e8dec2c5434f174e842bcd21f64be76e93ac04cde8c3fcee06b01cac39554",
"returnUrl": "https://pgproxyuat.in.worldline-solutions.com/linuxsimulator/MerchantResponsePage.jsp", //merchant response page URL
"responseHandler": handleResponse,
"paymentMode": "all",
"merchantLogoUrl": "https://www.paynimo.com/CompanyDocs/company-logo-vertical.png", //provided merchant logo will be displayed
"merchantId": "L3348",
"currency": "INR",
"consumerId": "c964634",
"consumerMobileNo": "9876543210",
"consumerEmailId": "test@test.com",
"txnId": "1698648651950", //Unique merchant transaction ID
"items": [{
"itemId": "first",
"amount": "10",
"comAmt": "0"
}],
"customStyle": {
"PRIMARY_COLOR_CODE": "#45beaa", //merchant primary color code
"SECONDARY_COLOR_CODE": "#FFFFFF", //provide merchant's suitable color code
"BUTTON_COLOR_CODE_1": "#2d8c8c", //merchant's button background color code
"BUTTON_COLOR_CODE_2": "#FFFFFF" //provide merchant's suitable color code for button text
}
}
};
$.pnCheckout(reqJson);
if(reqJson.features.enableNewWindowFlow){
pnCheckoutShared.openNewWindow();
}
});
});
</script>
</body>
</html>