-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); | ||
|
||
} | ||
|
||
|
@@ -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> | ||
|