Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhu007 committed Oct 1, 2019
1 parent 5441382 commit 351f625
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions payUmoney/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$udf5 = $_POST['udf5']; //optional (user define field udf)

/* We need to convert the inputs into HASH as per PayU alogrithem */
$hash=hash('sha512', $key.'|'.$txnid.'|'.$amount.'|'.$productinfo.'|'.$firstname.'|'.$email.'|||||'.$udf5.'||||||'.$salt);
$hash=hash('sha512', $key.'|'.$txnid.'|'.$amount.'|'.$productinfo.'|'.$firstname.'|'.$email.'|'.$phone.'|||||'.$udf5.'||||||'.$salt);

}

Expand Down Expand Up @@ -46,25 +46,25 @@
<td>Amount: </td>
<td><input name="amount" value="5" /></td>
<td>First Name: </td>
<td><input name="firstname" id="firstname" /></td>
<td><input name="firstname" id="firstname" value="Siddhu" /></td>
</tr>
<tr>
<td>Email: </td>
<td><input name="email" id="email" /></td>
<td><input name="email" id="email" value="[email protected]" /></td>
<td>Phone: </td>
<td><input name="phone" /></td>
<td><input name="phone" value="9912238386" /></td>
</tr>
<tr>
<td>Product Info: </td>
<td colspan="3"><textarea name="productinfo" > </textarea></td>
</tr>
<tr>
<td>Success URI: </td>
<td colspan="3"><input name="surl" size="64" /></td>
<td colspan="3"><input name="surl" size="64" value="http://localhost/all_scripts/payUmoney/success.php" /></td>
</tr>
<tr>
<td>Failure URI: </td>
<td colspan="3"><input name="furl" size="64" /></td>
<td colspan="3"><input name="furl" size="64" value="http://localhost/all_scripts/payUmoney/failed.php" /></td>
</tr>
<tr>
<td colspan="3"><input type="hidden" name="service_provider" value="payu_paisa" /></td>
Expand Down

0 comments on commit 351f625

Please sign in to comment.