<?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: Issues with iFrameCommunicator in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/74492#M46302</link>
    <description>&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after severals days headache, confusing and depressing, we figured it out!&lt;BR /&gt;&lt;BR /&gt;this intermittent issue is due to how we(the integrator) use the hosted form, that is render hosted form too earlier cause listener not registered.&lt;BR /&gt;&lt;BR /&gt;inside the hosted form&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div _ngcontent-c0="" class="iFrameClass" id="divIframeCommunicator"&amp;gt;&amp;lt;/div&amp;gt; is not fully rendered.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div _ngcontent-c0="" class="iFrameClass" id="divIframeCommunicator"&amp;gt;&amp;lt;iframe src="your_site_url" name="ifrmCommunicator" id="ifrmCommunicator"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt; the correctly one.&lt;BR /&gt;&lt;BR /&gt;the symptom is unable to receiveMessage but location.hash give truncated JSON like "#action=transactResponse&amp;amp;response={"&lt;BR /&gt;&lt;BR /&gt;also noticed their demo page in doc is a button to trigger post form token, where is an implied delay.&lt;BR /&gt;&lt;BR /&gt;when realized this the solution is simple, instead of do $("#send_token").submit(); in .ready() but do it in setTimeout with 1-2 seconds delay.&lt;BR /&gt;&lt;BR /&gt;now the hosted iframe working perfectly under Firefox, Chrome, Edge, IE11 and Opera&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From avetticommerce&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 07:20:05 GMT</pubDate>
    <dc:creator>Wei</dc:creator>
    <dc:date>2020-12-30T07:20:05Z</dc:date>
    <item>
      <title>Issues with iFrameCommunicator</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/67055#M40536</link>
      <description>&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;I am having an issue with the hosted payment form sending some events to the iframecommunicator.&lt;BR /&gt;&lt;BR /&gt;Resize events get sent correctly:&lt;BR /&gt;&lt;BR /&gt;E.G.&lt;BR /&gt;&lt;A href="https://local.bizlock.net/payment/authnet/iframe-communicator/payment#action=resizeWindow&amp;amp;width=442&amp;amp;height=1061.22" target="_blank" rel="noopener"&gt;https://local.bizlock.net/payment/authnet/iframe-communicator/payment#action=resizeWindow&amp;amp;width=442&amp;amp;height=1061.22&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But the url for transactResponse is being truncated after the first '{'&lt;BR /&gt;&lt;BR /&gt;E.G.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://local.bizlock.net/payment/authnet/iframe-communicator/payment#action=transactResponse&amp;amp;response=" target="_blank" rel="noopener"&gt;https://local.bizlock.net/payment/authnet/iframe-communicator/payment#action=transactResponse&amp;amp;response=&lt;/A&gt;{&lt;BR /&gt;&lt;BR /&gt;This is an only an issue for the first event since only the first event is sent by loading a url with the event data in the url fragment identifier.&lt;BR /&gt;&lt;BR /&gt;You also do not check to make sure the iFrameCommunicator iframe is loaded before you try to send messages to it. This leads to a "Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘&lt;A href="https://local.bizlock.net’" target="_blank" rel="noopener"&gt;https://local.bizlock.net’&lt;/A&gt;) does not match the recipient window’s origin (‘&lt;A href="https://test.authorize.net’" target="_blank" rel="noopener"&gt;https://test.authorize.net’&lt;/A&gt;)." error. You also don't catch and retry sending messages so they will be lost when they are sent before the iFrameCommunicator has loaded.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 01:04:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/67055#M40536</guid>
      <dc:creator>tfreeman</dc:creator>
      <dc:date>2019-03-20T01:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with iFrameCommunicator</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/67137#M40595</link>
      <description>&lt;P&gt;Part of the issue is the the hosted payment form (as opposed to the hosted profile forms) does not load the iFrameCommuncator prior to dispatching its first event. This means that if the first and second events fire in rapid enough succession vs. any network delay, the second event is lost.&lt;BR /&gt;&lt;BR /&gt;This also means that the first event fired by the hosted payment form is often the 'transactResponse' event which is sent via the document fragment identifier in the url rather than via a JS postMessage event. This means that the necessary information needed from the 'transactResponse' payload is missing and we are unable to send the customer on to the next part of the checkout process.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 00:45:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/67137#M40595</guid>
      <dc:creator>tfreeman</dc:creator>
      <dc:date>2019-03-25T00:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with iFrameCommunicator</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/68534#M41717</link>
      <description>&lt;P&gt;Any response from Authorize.Net here?&amp;nbsp; These are significant issues, and a resolution has been suggested...&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 22:25:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/68534#M41717</guid>
      <dc:creator>daves0</dc:creator>
      <dc:date>2019-07-23T22:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with iFrameCommunicator</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/68543#M41724</link>
      <description>&lt;P&gt;Refer this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.developer.authorize.net/t5/Integration-and-Testing/AUthorize-net-hosted-payment-page-not-working-in-Chrome-Version/m-p/59271/highlight/true#M33867" target="_blank"&gt;https://community.developer.authorize.net/t5/Integration-and-Testing/AUthorize-net-hosted-payment-page-not-working-in-Chrome-Version/m-p/59271/highlight/true#M33867&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:53:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/68543#M41724</guid>
      <dc:creator>satheesh22</dc:creator>
      <dc:date>2019-07-24T11:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with iFrameCommunicator</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/74492#M46302</link>
      <description>&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after severals days headache, confusing and depressing, we figured it out!&lt;BR /&gt;&lt;BR /&gt;this intermittent issue is due to how we(the integrator) use the hosted form, that is render hosted form too earlier cause listener not registered.&lt;BR /&gt;&lt;BR /&gt;inside the hosted form&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div _ngcontent-c0="" class="iFrameClass" id="divIframeCommunicator"&amp;gt;&amp;lt;/div&amp;gt; is not fully rendered.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div _ngcontent-c0="" class="iFrameClass" id="divIframeCommunicator"&amp;gt;&amp;lt;iframe src="your_site_url" name="ifrmCommunicator" id="ifrmCommunicator"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt; the correctly one.&lt;BR /&gt;&lt;BR /&gt;the symptom is unable to receiveMessage but location.hash give truncated JSON like "#action=transactResponse&amp;amp;response={"&lt;BR /&gt;&lt;BR /&gt;also noticed their demo page in doc is a button to trigger post form token, where is an implied delay.&lt;BR /&gt;&lt;BR /&gt;when realized this the solution is simple, instead of do $("#send_token").submit(); in .ready() but do it in setTimeout with 1-2 seconds delay.&lt;BR /&gt;&lt;BR /&gt;now the hosted iframe working perfectly under Firefox, Chrome, Edge, IE11 and Opera&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From avetticommerce&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 07:20:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Issues-with-iFrameCommunicator/m-p/74492#M46302</guid>
      <dc:creator>Wei</dc:creator>
      <dc:date>2020-12-30T07:20:05Z</dc:date>
    </item>
  </channel>
</rss>

