X-Frame-Options forbidding redirect to PayPal(X-Frame-Options 禁止重定向到 PayPal)
问题描述
我有一个支付系统,它不会因为错误而重定向到 paypal:拒绝显示文档,因为 X-Frame-Options 禁止显示."表单已发布并制作了正确的重定向网址,但贝宝查询没有返回响应:
I've got a payment system that won't redirect to paypal because of the error: "Refused to display document because display forbidden by X-Frame-Options." The form is posted and the proper redirect url is made, but there is no response returned from the paypal queries:
这会正确重定向到下一个查询:https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&令牌=xxx
This redirects properly to the next query: https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&token=xxx
这显示没有响应:https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=xxx&dispatch=xxx
如果我将第一个查询剪切并粘贴到浏览器中,它会重定向到 paypal,但是从应用程序(在 Chrome 中)运行时,我收到 X-Frame-Options 错误.(或在 Firefox 中,什么都没有)
If I cut and paste the first query into the browser, it redirects to paypal, when running from the application (in Chrome) however, I get the X-Frame-Options error. (or in Firefox, nothing)
推荐答案
这意味着 Paypal 不允许您在 iframe 中使用 Paypal.您不应在 iframe 中使用 Payapl.
This means that Paypal doesn't allow you to use Paypal in an iframe. You should not use Payapl in an iframe.
这篇关于X-Frame-Options 禁止重定向到 PayPal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:X-Frame-Options 禁止重定向到 PayPal
基础教程推荐
- 使用 scandir() 在目录中查找文件夹 (PHP) 2022-01-01
- php中的PDF导出 2022-01-01
- Web 服务器如何处理请求? 2021-01-01
- php中的foreach复选框POST 2021-01-01
- 将变量从树枝传递给 js 2022-01-01
- 如何在数学上评估像“2-1"这样的字符串?产生“1"? 2022-01-01
- php 7.4 在写入变量中的 Twig 问题 2022-01-01
- PHPUnit 的 Selenium 2 文档到底在哪里? 2022-01-01
- Yii2 - 在运行时设置邮件传输参数 2022-01-01
- 主题化 Drupal 7 的 Ubercart “/cart"页 2021-01-01
