Meteor Redirect to other Website


#1

I’m currently working on e-commerce based website for our country.I need to integrate a local payment gateway solution. The architecture of that system is actually to based on REST. so I need post several data to a specific url and they response back with a content of another url where my app should be redirected. After the transaction either success/failed/canceled, the third party system redirects back to my app url.

now I’m having problem with redirecting to the third-party url from my app.

 var result =  HTTP.post(url,{params:data_me});
 console.log(result.content+' ....');

The post method is synchronous and i get the url properly. how do I now redirect my app to their response url.
Note: these statements are written in a server function.