From c7e600e54dd42d52082c4cf03392e130902c1bc6 Mon Sep 17 00:00:00 2001 From: siddhuphp Date: Tue, 1 Oct 2019 18:07:25 +0530 Subject: [PATCH] payUmoney successfully completed --- payUmoney/failed.php | 1 + payUmoney/hash_generator.php | 31 +++++++++++++++ payUmoney/index.php | 74 ++++++++++++++++++++---------------- payUmoney/success.php | 1 + 4 files changed, 74 insertions(+), 33 deletions(-) create mode 100644 payUmoney/hash_generator.php diff --git a/payUmoney/failed.php b/payUmoney/failed.php index 45c51ff..531a23d 100644 --- a/payUmoney/failed.php +++ b/payUmoney/failed.php @@ -1,3 +1,4 @@ \ No newline at end of file diff --git a/payUmoney/hash_generator.php b/payUmoney/hash_generator.php new file mode 100644 index 0000000..eeb5878 --- /dev/null +++ b/payUmoney/hash_generator.php @@ -0,0 +1,31 @@ +key.'|'.$data->txnid.'|'.$data->amount.'|'.$data->productinfo.'|'.$data->firstname.'|'.$data->email.'|||||'.$data->udf5.'||||||'.$salt); + + $json['success'] = $hash; + + } + } + else + { + $json['error'] = "Failed"; + } + + echo json_encode($json); + + +?> \ No newline at end of file diff --git a/payUmoney/index.php b/payUmoney/index.php index d31e84a..94e3dd0 100644 --- a/payUmoney/index.php +++ b/payUmoney/index.php @@ -1,28 +1,3 @@ - - + + "/> - + @@ -52,11 +27,11 @@ - + - + @@ -110,7 +85,7 @@ - + @@ -118,5 +93,38 @@
Mandatory Parameters
Amount: First Name:
Email: Phone:
Product Info:
Success URI:
UDF5: PG:
+ + + + + \ No newline at end of file diff --git a/payUmoney/success.php b/payUmoney/success.php index 97d27f0..965d16e 100644 --- a/payUmoney/success.php +++ b/payUmoney/success.php @@ -1,3 +1,4 @@ \ No newline at end of file