Current File : /home/inlingua/public_html/sensoriumpsychologists.com/payment/test.php |
<html>
<head>
</head>
<body>
<?php
//$key='G7LmnaXc';
$key='QxIUZT';
$txnid="TXN78655";
$amount='100.000';
$pinfo="Appointment";
$fname="abdullah";
$email="abdullahansari70@gmail.com";
$udf1="";
$udf2="";
$udf3="";
$udf4="";
$udf5="";
//$salt="6XGEIGMBdF";
$salt="KWct7RCX";
$mobile="9643656504";
$hash=hash('sha512', $key.'|'.$txnid.'|'.$amount.'|'.$pinfo.'|'.$fname.'|'.$email.'|'.$udf1.'|'.$udf2.'|'.$udf3.'|'.$udf4.'|'.$udf5.'||||||'.$salt);
//sha512(key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5||||||SALT)
?>
<form action='https://secure.payu.in/_payment' method='post'>
<input type="text" name="firstname" value="abdullah" />
<input type="text" name="lastname" value="ansari" />
<input type="text" name="surl" value="https://www.sensoriumpsychologists.com/payment/response.php" />
PayU Integration Document - Version 2.13 Page 16
<input type="text" name="phone" value="<?php echo $mobile ?>" />
<input type="text" name="key" value="<?php echo $key ?>" />
<input type="text" name="salt" value="<?php echo $salt ?>" />
<input type="text" name="hash" value ="<?php echo $hash ?>" />
<input type="text" name="furl" value="https://www.sensoriumpsychologists.com/payment/response.php" />
<input type="text" name="txnid" value="<?php echo $txnid ?>" />
<input type="text" name="productinfo" value="<?php echo $pinfo ?>" />
<input type="text" name="amount" value="<?php echo $amount ?>" />
<input type="text" name="email" value="<?php echo $email ?>" />
<input type= "submit" value="submit">
</form>
</body></html>