Hash param is missing in payU payment gateway android integration

HemangNirmal picture HemangNirmal · Sep 3, 2015 · Viewed 9.1k times · Source

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 demo app there are two option to generate hash

if(null == salt) 
        generateHashFromServer(mPaymentParams);
    else 
        generateHashFromSDK(mPaymentParams, intent.getStringExtra(PayuConstants.SALT));

In demo app there are note saying that hash key generation should be done on server side

so I am passing salt as null

but Now the question is Which server url I have to use to generate hash? Demo app is using this url https://payu.herokuapp.com/get_hash

Answer

Vivek Gupta picture Vivek Gupta · Sep 3, 2015

PayU money doesn't give any kind of API, So, people use a webview instead.