<?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: Sandbox Accept Hosted CSP issue in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91382#M57391</link>
    <description>&lt;P&gt;Did somebody solved this issue?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 20:16:05 GMT</pubDate>
    <dc:creator>aleksandarilic</dc:creator>
    <dc:date>2025-03-07T20:16:05Z</dc:date>
    <item>
      <title>Sandbox Accept Hosted CSP issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91320#M57358</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;We use the Accept Hosted API for our C# based payment forms. Production is working fine. However, our testing forms suddenly appear to have stopped working when testing payments. I'm seeing the following in the console:&lt;/P&gt;&lt;P&gt;Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-9ildXBnHfUmPXCIYGXW6sA==' blob: https://*.ads-twitter.com https://*.authorize.net https://*.bing.com https://*.ceros.com https://*.contentsquare.com https://*.contentsquare.net https://*.cookiereports.com https://*.doubleclick.net https://*.eloqua.com https://*.en25.com https://*.facebook.net https://*.google-analytics.com https://*.google.com https://*.googleadservices.com https://*.googletagmanager.com https://*.gstatic.com https://*.idio.episerver.net https://*.licdn.com https://*.linkedin.com https://*.optimizely.com https://*.twitter.com https://*.visa.com https://*.youtube.com &lt;A href="https://api.company-target.com" target="_blank"&gt;https://api.company-target.com&lt;/A&gt; &lt;A href="https://cdn-assets-prod.s3.amazonaws.com" target="_blank"&gt;https://cdn-assets-prod.s3.amazonaws.com&lt;/A&gt; &lt;A href="https://code.jquery.com" target="_blank"&gt;https://code.jquery.com&lt;/A&gt; &lt;A href="https://company-target.com" target="_blank"&gt;https://company-target.com&lt;/A&gt; &lt;A href="https://id.rlcdn.com" target="_blank"&gt;https://id.rlcdn.com&lt;/A&gt; &lt;A href="https://optimizely.s3.amazonaws.com" target="_blank"&gt;https://optimizely.s3.amazonaws.com&lt;/A&gt; &lt;A href="https://rlcdn.com" target="_blank"&gt;https://rlcdn.com&lt;/A&gt; &lt;A href="https://s.company-target.com" target="_blank"&gt;https://s.company-target.com&lt;/A&gt; &lt;A href="https://scripts.demandbase.com" target="_blank"&gt;https://scripts.demandbase.com&lt;/A&gt; &lt;A href="https://segments.company-target.com" target="_blank"&gt;https://segments.company-target.com&lt;/A&gt; &lt;A href="https://tag-logger.demandbase.com" target="_blank"&gt;https://tag-logger.demandbase.com&lt;/A&gt; &lt;A href="https://tag.demandbase.com" target="_blank"&gt;https://tag.demandbase.com&lt;/A&gt;". Either the 'unsafe-inline' keyword, a hash ('sha256-rQFcSQ+uPvBBS36Ebz2AA8DWF5LxdwuQKeLhxEfN+Ec='), or a nonce ('nonce-...') is required to enable inline execution.&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-9ildXBnHfUmPXCIYGXW6sA==' https://*.authorize.net https://*.ceros.com https://*.eloqua.com https://*.google.com https://*.gstatic.com https://*.licdn.com https://*.optimizely.com https://*.visa.com &lt;A href="https://fonts.googleapis.com" target="_blank"&gt;https://fonts.googleapis.com&lt;/A&gt;". Either the 'unsafe-inline' keyword, a hash ('sha256-0EZqoz+oBhx7gF4nvY2bSqoGyy4zLjNF+SDQXGp/ZrY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript&amp;amp;colon; navigations unless the 'unsafe-hashes' keyword is present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just noticed this issue on Friday. All of our test forms that were working previously in the last month seem to be having this issue (pointing to &lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;). Our production forms that point to &lt;A href="https://accept.authorize.net/payment/payment" target="_blank"&gt;https://accept.authorize.net/payment/payment&lt;/A&gt; &amp;nbsp;work fine. It doesn't look like they are applying a CSP to the production environment.&lt;/P&gt;&lt;P&gt;If I go straight to&amp;nbsp;&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&amp;nbsp;the same errors appear in the console there. Is authorize.net blocking their own script/styles via the CSP in the test sandbox? Is anyone else seeing this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 18:13:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91320#M57358</guid>
      <dc:creator>cc-45335</dc:creator>
      <dc:date>2025-02-24T18:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox Accept Hosted CSP issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91382#M57391</link>
      <description>&lt;P&gt;Did somebody solved this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 20:16:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91382#M57391</guid>
      <dc:creator>aleksandarilic</dc:creator>
      <dc:date>2025-03-07T20:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox Accept Hosted CSP issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91658#M57539</link>
      <description>&lt;P&gt;I am also having the same issue&amp;nbsp;&lt;A href="https://test.authorize.net/payment/payment" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.authorize.net/payment/payment?token=&lt;/A&gt;{token} did not work for me either&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 18:29:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91658#M57539</guid>
      <dc:creator>khurram2875</dc:creator>
      <dc:date>2025-05-09T18:29:27Z</dc:date>
    </item>
  </channel>
</rss>

