I am working on payment gateway integration and my web site is on rails framework . My problem is , when i am getting redirected to my payment confirmation page , there is some response coming with my giving callback url and that response has some vital information like payment is successful or not etc.
This network response i can see in chrome network header tab [under developer option (press f12)]
IMAGE -i have given link of image that shows - chrome's network tab that contains headers for order115 under that formdata is available that i need to fetch for payment confirmation
please look into the image for better understanding
is there any way to get this response in my rails App ? i have tried with request.headers that does not contain this info .
thanks in advance !
Write a controller action for your payment confirmation page where you can access this response data using params
hash and after processing this data, render your order confirmation page