<?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: Help with iframe communications in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/87370#M54963</link>
    <description>&lt;P&gt;I'm seeing the same issue, showReceipt set to false, Submit button gets stuck on Processing, no transactResponse received in params action.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 15:46:47 GMT</pubDate>
    <dc:creator>marine2026</dc:creator>
    <dc:date>2023-08-22T15:46:47Z</dc:date>
    <item>
      <title>Help with iframe communications</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74836#M46576</link>
      <description>&lt;P&gt;We are using the hosted form solution for integration, and at first I had good luck with the iframe communication when a transaction was submitted, the example javascript code supplied on the authorize.net github account worked well, allowing us to respond to a completed transaction with our own code and update our database.&amp;nbsp; Now, we never see a finished transaction and I don't know why.&amp;nbsp; Here is our code.&lt;/P&gt;&lt;PRE&gt;(function () {
      window.CommunicationHandler = {};
      window.CommunicationHandler.onReceiveCommunication = function (querystr) {
        console.log('receive');
          var params = parseQueryString(querystr.qstr);
          console.log(params);
            switch (params["action"]) {
              case "successfulSave":
                break;
              case "cancel":
                break;
              case "resizeWindow":
                var w = parseInt(params["width"]);
                var h = parseInt(params["height"]);
                var ifrm = document.getElementById("add_payment");
                ifrm.style.width = w.toString() + "px";
                //ifrm.style.height = h.toString() + "px";
                break;
              case "transactResponse":
                var data = params['response'];
                $.post('receive.php?donation_id=&amp;lt;?php print $donation_id; ?&amp;gt;', data, function(response) {

                });
                var ifrm = document.getElementById("add_payment");
              }
          };&lt;/PRE&gt;&lt;P&gt;We never see the transactResponse action any more, only the resizeWindow action, and I have no idea why.&amp;nbsp; Anyone have any idea how to troubleshoot this?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:54:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74836#M46576</guid>
      <dc:creator>justageek</dc:creator>
      <dc:date>2021-01-27T22:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iframe communications</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74837#M46577</link>
      <description>&lt;P&gt;As a follow up, I set the showReceipt to false when generating my form token and that has solved the general problem, I now see the transactReponse come through, but it does absolutely nothing for declined transactions, anyone know why declined wouldn't trigger this action in the iframe communications?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 23:30:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74837#M46577</guid>
      <dc:creator>justageek</dc:creator>
      <dc:date>2021-01-27T23:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iframe communications</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74838#M46578</link>
      <description>&lt;P&gt;Sorry one more, with showReceipt set to false the Submit button gets stuck on Processing... even though the transaction goes through, anyone know about that?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 23:32:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/74838#M46578</guid>
      <dc:creator>justageek</dc:creator>
      <dc:date>2021-01-27T23:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iframe communications</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/87370#M54963</link>
      <description>&lt;P&gt;I'm seeing the same issue, showReceipt set to false, Submit button gets stuck on Processing, no transactResponse received in params action.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 15:46:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-iframe-communications/m-p/87370#M54963</guid>
      <dc:creator>marine2026</dc:creator>
      <dc:date>2023-08-22T15:46:47Z</dc:date>
    </item>
  </channel>
</rss>

