<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sameorigin issue in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/64492#M38373</link>
    <description>&lt;P&gt;Your browser isn't allowing the iframe communicator page to be loaded in an iFrame because your server's webserver (apache or nginx probably) is setting a response header indicating that shouldn't be allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, the webserver is setting the "X-Frame-Options" header to be "sameorigin", which means the browser should only load its content in an iframe if the referring page is also on "mysiteurl.com"... and because the iframe communicator page is being loaded in an iframe inside the authorize.net page (which was loaded as an iframe on your page) the iframe communicator page is not on the same domain as the authorize.net page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to prevent your webserver from setting that header, or set it to allow requests from authorize.net. See &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options&lt;/A&gt;, especially where it says how to configure Apache or nginx to set the header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone knows of an easier fix, I'm all ears. But so far that's the best I can find.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 23:21:15 GMT</pubDate>
    <dc:creator>eventespresso</dc:creator>
    <dc:date>2018-09-12T23:21:15Z</dc:date>
    <item>
      <title>Sameorigin issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/62367#M36705</link>
      <description>&lt;P&gt;I m getting this issue on Chrome in&amp;nbsp; Authorize.Net Accept Hosted form but wrk in&amp;nbsp;firefox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refused to display '&lt;A href="https://mysiteurl.com/scripts/IFrameCommunicator.html#action=resizeWindow&amp;amp;width=1000&amp;amp;height=301" target="_blank"&gt;https://mysiteurl.com/scripts/IFrameCommunicator.html#action=resizeWindow&amp;amp;width=1000&amp;amp;height=301&lt;/A&gt;' in a frame because it set 'X-Frame-Options' to 'sameorigin'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls help&amp;nbsp; on this what can i do ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:01:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/62367#M36705</guid>
      <dc:creator>ioiki</dc:creator>
      <dc:date>2018-03-28T14:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sameorigin issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/64492#M38373</link>
      <description>&lt;P&gt;Your browser isn't allowing the iframe communicator page to be loaded in an iFrame because your server's webserver (apache or nginx probably) is setting a response header indicating that shouldn't be allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, the webserver is setting the "X-Frame-Options" header to be "sameorigin", which means the browser should only load its content in an iframe if the referring page is also on "mysiteurl.com"... and because the iframe communicator page is being loaded in an iframe inside the authorize.net page (which was loaded as an iframe on your page) the iframe communicator page is not on the same domain as the authorize.net page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to prevent your webserver from setting that header, or set it to allow requests from authorize.net. See &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options&lt;/A&gt;, especially where it says how to configure Apache or nginx to set the header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone knows of an easier fix, I'm all ears. But so far that's the best I can find.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:21:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/64492#M38373</guid>
      <dc:creator>eventespresso</dc:creator>
      <dc:date>2018-09-12T23:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sameorigin issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/78217#M49109</link>
      <description>&lt;P&gt;X-Frame-Options is a header included in the response to the request to state if the domain requested will allow itself to be displayed within a frame. It has nothing to do with &lt;A href="http://net-informations.com/js/iq/default.htm" target="_self"&gt;javascript&lt;/A&gt; or HTML, and cannot be changed by the originator of the request. You can't set X-Frame-Options on the iframe. That is a response header set by the domain from which you are requesting the resource . They have set the header to SAMEORIGIN in this case, which means that they have disallowed loading of the resource in an iframe outside of their domain. So you cannot embed their website into yours. Browsers when see that the response header contains X-Frame-Options: SAMEORIGIN, they check your domain and block the rendering of the &amp;lt;iframe&amp;gt;. It is a security measure to avoid clickjacking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 07:57:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sameorigin-issue/m-p/78217#M49109</guid>
      <dc:creator>leneborma</dc:creator>
      <dc:date>2021-08-27T07:57:38Z</dc:date>
    </item>
  </channel>
</rss>

