I need to integrate payU payment gateway in my android app. But when app is trying to to get hash key it gives me error saying that
Hash param is missing
In de
You have to use your own server URL to generate hash keys. In android app there are 3 mandatory hash keys you have to set else you will get error "mandatory hash key is missing".
Make sure you have set this 3 keys to payuHashes object.
Below three hashes are mandatory for payment flow and needs to be generated at merchant server: 1. Payment hash is one of the mandatory hashes that needs to be generated from merchant's server side. Below is formula for generating payment_hash - sha512(key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5||||||SALT)
sha512(key|command|var1|salt)
here, var1 will be "default"
sha512(key|command|var1|salt) here, var1 will be user credentials. If you are not using user_credentials then use "default".
Refer sample sdk from here: https://github.com/payu-intrepos/Android-SDK-Sample-App/releases/
For server side code refer this: https://github.com/payu-intrepos/Documentations/wiki/4.-Server-Side