Integrating Payumoney With Meteor App


I am trying to integrate PayuMoney payment gateway into my Meteor App. The process involves sending a POST request to a external url(payu url) and also redirecting the user to it. The user completes the payment on PayUmoney’s site and once done, the PayUmoney site redirects back to a url(provided by me) with parameters passed as POST.

What I have done currently,
To post the form, I have allowed the default behavior of the form. I have defined the method as POST, with the target URL and all input parameters as hidden.

However, I am unsure on how to accept the variables after the tranasaction. I tried this method: but, this didn’t work.

Technical Integration Document (Pay U Money):

Any help will be appreciated. Thanks!