Guest User

Untitled

a guest
Apr 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $hash = '';
  2. //Below is the required format need to hash it and send it across payumoney page. UDF means User Define Fields.
  3. //$hashSequence = "key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5|udf6|udf7|udf8|udf9|udf10";
  4. $hash_string = MERCHANT_KEY."|".$txnid."|".$amount."|"."productinfo|".$firstName."|".$email."|||||||||||".SALT;
  5. $hash = strtolower(hash('sha512', $hash_string));
  6. $action = PAYU_BASE_URL . '/_payment';
Add Comment
Please, Sign In to add comment