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
基础教程推荐
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何替换eregi() 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
