<?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 SIM Relay Response – Blocked Script Execution Error After Payment in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Relay-Response-Blocked-Script-Execution-Error-After-Payment/m-p/95622#M59049</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am writing to report a critical issue with our Server Integration Method (SIM) payment flow. The relay response redirect has stopped working, and we are receiving the following browser error after successful payment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Blocked script execution in '&lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integration Method: SIM (Server Integration Method)&lt;/P&gt;&lt;P&gt;Environment: Test Mode (test.authorize.net) (SANDBOX)&lt;/P&gt;&lt;P&gt;Relay URL: &lt;A href="https://2.pmam.com/AgentPortalPaymentAPI/api/payment/callback" target="_blank"&gt;https://2.pmam.com/AgentPortalPaymentAPI/api/payment/callback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Payment Processing: Working correctly – transactions are being approved and our callback API is being invoked successfully&lt;/P&gt;&lt;P&gt;Database Updates: Working correctly – payment status is updated via the relay response&lt;/P&gt;&lt;P&gt;The Issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After payment completion, our relay URL returns an HTML response with a JavaScript redirect to our success page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;window.location='&lt;A href="https://2.pmam.com/AP/1/quote/success?pid=" target="_blank"&gt;https://2.pmam.com/AP/1/quote/success?pid=&lt;/A&gt;&amp;lt;guid&amp;gt;';&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;This redirect was working perfectly before. Now, the browser blocks the script execution due to sandboxing on the transact.dll frame, leaving the user stuck on an empty/blank page. The payment is processed successfully, but the user is never redirected back to our application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What We Have Already Tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Replaced window.location with window.top.location.href – Same error&lt;/LI&gt;&lt;LI&gt;Used &amp;lt;meta http-equiv='refresh'&amp;gt; redirect – Same error (meta refresh also blocked)&lt;/LI&gt;&lt;LI&gt;Removed all JavaScript and returned plain HTML with clickable links – Still facing issues with the relay response rendering&lt;/LI&gt;&lt;LI&gt;Created a new test account with new API Login ID and Transaction Key – Same issue persists&lt;/LI&gt;&lt;LI&gt;Verified our server response headers via curl – Confirmed that no Content-Security-Policy or sandbox headers are being injected by our server, proxy, or network infrastructure. The sandboxing originates from Authorize.Net's transact.dll frame&lt;/LI&gt;&lt;LI&gt;Verified the Relay URL is accessible and returning 200 OK – Confirmed working&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Findings:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the transact.dll page is now loading the relay response inside a sandboxed iframe without the allow-scripts permission. This prevents any form of client-side redirect (JavaScript or meta refresh) from executing in the browser.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has there been a recent change to the SIM relay response behavior or iframe sandboxing policy on transact.dll?&lt;/P&gt;&lt;P&gt;Is there a recommended approach for redirecting the user back to the merchant site within the relay response HTML given the current sandboxing restrictions?&lt;/P&gt;&lt;P&gt;Are the x_receipt_link_url and x_receipt_page fields supported in SIM test mode for post-payment browser redirection?&lt;/P&gt;&lt;P&gt;Is there an alternative parameter or method we should use to redirect the user after payment completion?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a &lt;STRONG&gt;production-blocking issue&lt;/STRONG&gt;. Our customers complete their payment but are unable to return to our application, resulting in a broken checkout experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist us urgently. We are available for a call or screen share if needed.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 14:53:25 GMT</pubDate>
    <dc:creator>Jaydeep2026</dc:creator>
    <dc:date>2026-07-22T14:53:25Z</dc:date>
    <item>
      <title>SIM Relay Response – Blocked Script Execution Error After Payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Relay-Response-Blocked-Script-Execution-Error-After-Payment/m-p/95622#M59049</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am writing to report a critical issue with our Server Integration Method (SIM) payment flow. The relay response redirect has stopped working, and we are receiving the following browser error after successful payment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Blocked script execution in '&lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integration Method: SIM (Server Integration Method)&lt;/P&gt;&lt;P&gt;Environment: Test Mode (test.authorize.net) (SANDBOX)&lt;/P&gt;&lt;P&gt;Relay URL: &lt;A href="https://2.pmam.com/AgentPortalPaymentAPI/api/payment/callback" target="_blank"&gt;https://2.pmam.com/AgentPortalPaymentAPI/api/payment/callback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Payment Processing: Working correctly – transactions are being approved and our callback API is being invoked successfully&lt;/P&gt;&lt;P&gt;Database Updates: Working correctly – payment status is updated via the relay response&lt;/P&gt;&lt;P&gt;The Issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After payment completion, our relay URL returns an HTML response with a JavaScript redirect to our success page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;window.location='&lt;A href="https://2.pmam.com/AP/1/quote/success?pid=" target="_blank"&gt;https://2.pmam.com/AP/1/quote/success?pid=&lt;/A&gt;&amp;lt;guid&amp;gt;';&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;This redirect was working perfectly before. Now, the browser blocks the script execution due to sandboxing on the transact.dll frame, leaving the user stuck on an empty/blank page. The payment is processed successfully, but the user is never redirected back to our application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What We Have Already Tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Replaced window.location with window.top.location.href – Same error&lt;/LI&gt;&lt;LI&gt;Used &amp;lt;meta http-equiv='refresh'&amp;gt; redirect – Same error (meta refresh also blocked)&lt;/LI&gt;&lt;LI&gt;Removed all JavaScript and returned plain HTML with clickable links – Still facing issues with the relay response rendering&lt;/LI&gt;&lt;LI&gt;Created a new test account with new API Login ID and Transaction Key – Same issue persists&lt;/LI&gt;&lt;LI&gt;Verified our server response headers via curl – Confirmed that no Content-Security-Policy or sandbox headers are being injected by our server, proxy, or network infrastructure. The sandboxing originates from Authorize.Net's transact.dll frame&lt;/LI&gt;&lt;LI&gt;Verified the Relay URL is accessible and returning 200 OK – Confirmed working&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Findings:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the transact.dll page is now loading the relay response inside a sandboxed iframe without the allow-scripts permission. This prevents any form of client-side redirect (JavaScript or meta refresh) from executing in the browser.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has there been a recent change to the SIM relay response behavior or iframe sandboxing policy on transact.dll?&lt;/P&gt;&lt;P&gt;Is there a recommended approach for redirecting the user back to the merchant site within the relay response HTML given the current sandboxing restrictions?&lt;/P&gt;&lt;P&gt;Are the x_receipt_link_url and x_receipt_page fields supported in SIM test mode for post-payment browser redirection?&lt;/P&gt;&lt;P&gt;Is there an alternative parameter or method we should use to redirect the user after payment completion?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a &lt;STRONG&gt;production-blocking issue&lt;/STRONG&gt;. Our customers complete their payment but are unable to return to our application, resulting in a broken checkout experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist us urgently. We are available for a call or screen share if needed.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 14:53:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Relay-Response-Blocked-Script-Execution-Error-After-Payment/m-p/95622#M59049</guid>
      <dc:creator>Jaydeep2026</dc:creator>
      <dc:date>2026-07-22T14:53:25Z</dc:date>
    </item>
  </channel>
</rss>

