Reading params from payment merchant site redirection(post request)


#1

Hi,
I am trying to integrate a payment channel which actuyally redirect the control to the merchant site and merchant redirects the page to reaction success url with certain params( eg - approve/reject etc).

These params comes as post request. Could you please let me know how to read these form params and show the user respective page by calling the -
Meteor.call(“cart/submitPayment”, paymentMethod)

Thanks,
Manish.


#2

You might want to look at the Paypal plugin, which uses a similar authenticate and redirect strategy.


#3

Thanks,
I checked paypal flow and looks like its based on get request. My payment partner redirects with post request.

Thanks,
Manish.


#4

Is dealing with the POST request the only issue you are having?


#5

Yes,
Please guide if a way to deal this.

Thanks,
Manish.


#6

Hi,
Any ideas on the same would be highly appreciable.

Thanks,
Manish.


#7

You may also want to look at: https://github.com/reactioncommerce/reaction/pull/2725