简体   繁体   English

从付款网关重定向到我的订单确认页面后,如何访问浏览器的网络标头数据

[英]How to access browser's network headers data after getting redirected from payment gateway to my order confirmation page

I am working on payment gateway integration and my web site is on rails framework . 我正在从事支付网关集成,并且我的网站位于Rails框架上。 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)] 我可以在Chrome网络标题标签中看到此网络响应[在开发人员选项下(按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 IMAGE -i已给出显示图像的链接-chrome的网络选项卡包含该formdata下的order115的标头,我需要提取该数据以进行付款确认

一世 please look into the image for better understanding 请调查图片以更好地了解

is there any way to get this response in my rails App ? 有什么办法可以在我的Rails App中获得此响应? i have tried with request.headers that does not contain this info . 我尝试使用不包含此信息的request.headers。

thanks in advance ! 提前致谢 !

为您的付款确认页面编写一个控制器操作,您可以在其中使用params哈希访问此响应数据,并在处理params该数据后呈现订单确认页面

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 提交表单后从另一个页面(如确认页面)重定向后,如何将值保留在表单中 - How to keep the values in a form after getting redirected from another page(like a confirmation page) after submitting the form 在付款网关结帐流程中结帐至金额时,如何分配商店的订单价值(金额)? - How to assign store's order value(amount) while checking out to the amount in my payment gateway checkout process? 得到确认页面后点击浏览器返回按钮 - Clicking the browser back button after getting the confirmation page 付款网关结帐后处理浏览器历史记录 - Dealing with browser history after payment gateway checkout 如何在收到用户确认后关闭浏览器标签? - How can I close a tab of browser after getting confirmation from user? 从支付网关返回时,Chrome 丢失了我的会话数据 - Chrome loses my session data when returning from the payment gateway 如何防止页面通过 document.location 重定向? - How to prevent page from getting redirected via document.location? 如何从重定向的付款处理器站点提取交易详细信息并将其保存到我的4 db - How do I extract transaction details from a redirected Payment Processor Site and save to my rails 4 db 如何将数据从 javascript function 传递到重定向页面? - How to pass data from javascript function to redirected page? 如何确保只有从特定功能重定向的用户才能访问我的网站页面? - How can I make sure that a user visits a page of my site only if he's redirected from a specific function?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM