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 @@ - - + + "/>
Mandatory Parameters | ||||||
Amount: | -+ | First Name: | Email: | Phone: | -+ | |
Product Info: | -+ | |||||
Success URI: | @@ -110,7 +85,7 @@||||||
UDF5: | -+ | PG: |