<?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/96008#M59218</link>
    <description>&lt;P&gt;I have seen similar CSP issues when browser security changes start enforcing policies that were not causing problems before. I would first compare the exact CSP error in Chrome and Edge and check whether the required CyberSource domains are allowed by the current policy. Testing the integration in a clean browser profile could also help rule out extensions or cached settings as the cause.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2026 15:01:47 GMT</pubDate>
    <dc:creator>edwardharry</dc:creator>
    <dc:date>2026-09-18T15:01:47Z</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>
    <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/91730#M57582</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/69656"&gt;@cc-45335&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&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://checknolcardae.com/" target="_self"&gt;:&lt;/A&gt;&lt;A href="https://api.company-target.com" target="_blank" rel="noopener"&gt;https://api.company-target.com&lt;/A&gt; &lt;A href="https://cdn-assets-prod.s3.amazonaws.com" target="_blank" rel="noopener"&gt;https://cdn-assets-prod.s3.amazonaws.com&lt;/A&gt; &lt;A href="https://code.jquery.com" target="_blank" rel="noopener"&gt;https://code.jquery.com&lt;/A&gt; &lt;A href="https://company-target.com" target="_blank" rel="noopener"&gt;https://company-target.com&lt;/A&gt; &lt;A href="https://id.rlcdn.com" target="_blank" rel="noopener"&gt;https://id.rlcdn.com&lt;/A&gt; &lt;A href="https://optimizely.s3.amazonaws.com" target="_blank" rel="noopener"&gt;https://optimizely.s3.amazonaws.com&lt;/A&gt; &lt;A href="https://rlcdn.com" target="_blank" rel="noopener"&gt;https://rlcdn.com&lt;/A&gt; &lt;A href="https://s.company-target.com" target="_blank" rel="noopener"&gt;https://s.company-target.com&lt;/A&gt; &lt;A href="https://scripts.demandbase.com" target="_blank" rel="noopener"&gt;https://scripts.demandbase.com&lt;/A&gt; &lt;A href="https://segments.company-target.com" target="_blank" rel="noopener"&gt;https://segments.company-target.com&lt;/A&gt; &lt;A href="https://tag-logger.demandbase.com" target="_blank" rel="noopener"&gt;https://tag-logger.demandbase.com&lt;/A&gt; &lt;A href="https://tag.demandbase.com" target="_blank" rel="noopener"&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://themagistvapp.com/" target="_self"&gt;:&lt;/A&gt;&lt;A href="https://fonts.googleapis.com" target="_blank" rel="noopener"&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" rel="noopener"&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" rel="noopener"&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 :&lt;A href="https://test.authorize.net/payment/payment" target="_blank" rel="noopener"&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;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It appears that Authorize.Net has recently updated the Content Security Policy (CSP) on their sandbox environment to be significantly stricter. As you've observed, the CSP is now blocking inline scripts and styles unless they are accompanied by an appropriate nonce, hash, or the use of unsafe-inline which is generally discouraged for security reasons. This is why your test forms are now failing while your production forms , which still allow inline scripts/styles, continue to work as expected.&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 20:49:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/91730#M57582</guid>
      <dc:creator>evaelfie</dc:creator>
      <dc:date>2025-05-24T20:49:41Z</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/96008#M59218</link>
      <description>&lt;P&gt;I have seen similar CSP issues when browser security changes start enforcing policies that were not causing problems before. I would first compare the exact CSP error in Chrome and Edge and check whether the required CyberSource domains are allowed by the current policy. Testing the integration in a clean browser profile could also help rule out extensions or cached settings as the cause.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 15:01:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Accept-Hosted-CSP-issue/m-p/96008#M59218</guid>
      <dc:creator>edwardharry</dc:creator>
      <dc:date>2026-09-18T15:01:47Z</dc:date>
    </item>
  </channel>
</rss>

