i am developing web app that is total restful front-end using angular and backend nodejs,express and mongodb. i am trying to integrate payumoney payment gateway with my web app. Plz Go through this https://www.payumoney.com/developer-doc-api.html api is returning html page when i hit payment Endpoint https://test.payu.in/_payment. i don't know how to make user to redirect to payumoney payment page. Before All this i am getting error Checksum Failed. iam sending data in this format
request.post({
url: 'https://test.payu.in/_payment',
headers: {
Authorization:'4sOSsCZXIopj4XvbddLX8kF7tmlTu2UZsjHVAwPt404='
},
form: {
key: 'lfX7uR',
txnid: 578cb861e9c38ecc185ec8e7,
firstname: 'Rayees',
lastname: 'Mir',
email: 'rayees@mir.com',
phone: '9797187225',
productinfo: '{"_id":"57611c58763eb9c0116d6def","expiryDate":"2016-09-15T09:14:00.536Z","amount":8600,"updated":"2016-06-22T13:55:43.176Z","user":"5757c59e3d47bd50118e07c7","__v":27,"status":"active","created":"2016-06-15T09:14:00.533Z","products":[{"_id":"575a9257685404601d1da5c0","quantity":3,"salesPrice":200,"addedDate":"2016-06-15T15:29:29.525Z","listPrice":50},{"_id":"575a9286ee1ca30c27abb9eb","quantity":20,"salesPrice":400,"addedDate":"2016-06-22T13:55:43.176Z","listPrice":210}]}',
amount: 8200,
surl: 'https://www.google.com',
furl: 'https://www.facebook.com',
hash: '',
service_provider: '',
address1: '',
address2: '',
city: '',
state: '',
country: '',
zipcode: '',
udf1: '',
udf2: '',
udf3: '',
udf4: '',
udf5: '',
udf6: '',
udf7: '',
udf8: '',
udf9: '',
udf10: '' }
},function(result){
console.log(result);
});