<?php // Merchant key here as provided by Payu $MERCHANT_KEY = “bdASxs”; // Merchant Salt as provided by Payu $SALT = “tghfYhd”; // End point …
Read MoreAuthor: Chandan Sharma
how to print using javascript
<button onclick=”window.print();”> Print </button> use this code window.print(); It will print full opened window.
Read Morehow to print a Div content in javascript
By using this script we can print the content of a Div. It is working fine. We have to call this script like this: <button …
Read MoreHow to print a div content
<html> <head></head> <body> <style> .AP_CONTNT{width: 1000px;} .AP_HEAD{border: 1px solid;padding: 7px;background: bisque;} .AP_CONTNT1{border: 1px solid;padding: 7px;margin-top: 5px;background-color: cadetblue;} .AP_CONTNT2{border: 1px solid;padding: 7px;margin-top: 5px;background-color: cadetblue;} .AP_CONTNT2_B1{border: 1px …
Read MoreNot showing website logo in ebs payment gateway mobile view
Now for EBS VERSION 3.0 Payment Gateway Integration Mobile view is added for EBS page. In the Computer Website/Company logo will display with company name …
Read MoreHow to restrict input box to take only numbers
<input type=”text” name=”card_num” size=”4″ maxlength=”4″ onkeyup=”return isNumberKey(this);”> <script> function isNumberKey(e) { var numberRegex = /^[0-9]+$/; if(!numberRegex.test(e.value)) { e.value = e.value.replace(/\D/g, ”); } } </script>
Read Morehow to integrate paypal payment gateway in php
At Paypal account first merchant have to create Paypal account. Send the data to Paypal: <form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”> <input type=”hidden” name=”cmd” value=”_xclick”> <input type=”hidden” name=”business” …
Read MoreHow to load an error image when image not loaded
<img src=”../product_image.jpg” alt=”Image not found” onError=”this.onerror=null; this.src=’../empty/blank.gif’;”/> this will solve the problem
Read MoreInvalid secure hash in ebs kit version 3.0
Currently Ebs Payment gateway not user/developer allows to test EBS in TEST mode with the version 3.0 .They offer to test ebs Directly by LIVE …
Read Morehow to make secure hash to send in ebs payment gateway
//Pass your Registered Secret Key $hashData = “Your Secret Key“; $hash = “ebskey”.”|”.urlencode($_POST[‘account_id’]).”|”.urlencode($_POST[‘amount’]).”|”.urlencode($_POST[‘reference_no’]).”|”.$_POST[‘return_url’].”|”.urlencode($_POST[‘mode’]); $secure_hash = md5($hash); // now pass $secure_hash secure hash to ebs .
Read More