<?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 CIM hosted form option - popup won't close on cancel or suscessful save in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13146#M7915</link>
    <description>&lt;P&gt;I'm using the brand new hosted option for CIM (with php) with is very nice. &amp;nbsp;It's working just fine for me... except one problem - the closePopup function in popup.js never gets called when I click cancel on the iframe form or have a successful save. &amp;nbsp;I've tried everything with no luck - I don't know if it's something I'm doing or something not firing on the hosted form page. &amp;nbsp;I'm not that great at javascript, but I tried debugging the script as it ran (profile.js) and it seemed to get to the part where it sends the 'cance' string to the iframecommunicator (which was valid), but then it seemed to get lost before triggering anything in popup.js. &amp;nbsp;If that makes any sense or you know what the problem is, please let me know! &amp;nbsp;I need to get this working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. &amp;nbsp;By the way, I'm using in a codeigniter framework, but I don't think that should have any effect on the issue, and everything besides the popup close is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2011 01:55:44 GMT</pubDate>
    <dc:creator>jschomay</dc:creator>
    <dc:date>2011-05-26T01:55:44Z</dc:date>
    <item>
      <title>CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13146#M7915</link>
      <description>&lt;P&gt;I'm using the brand new hosted option for CIM (with php) with is very nice. &amp;nbsp;It's working just fine for me... except one problem - the closePopup function in popup.js never gets called when I click cancel on the iframe form or have a successful save. &amp;nbsp;I've tried everything with no luck - I don't know if it's something I'm doing or something not firing on the hosted form page. &amp;nbsp;I'm not that great at javascript, but I tried debugging the script as it ran (profile.js) and it seemed to get to the part where it sends the 'cance' string to the iframecommunicator (which was valid), but then it seemed to get lost before triggering anything in popup.js. &amp;nbsp;If that makes any sense or you know what the problem is, please let me know! &amp;nbsp;I need to get this working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. &amp;nbsp;By the way, I'm using in a codeigniter framework, but I don't think that should have any effect on the issue, and everything besides the popup close is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2011 01:55:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13146#M7915</guid>
      <dc:creator>jschomay</dc:creator>
      <dc:date>2011-05-26T01:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13192#M7935</link>
      <description>&lt;P&gt;Here's more info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By debugging the javascript, I believe the problem to happen near line 872 of profile.js (from the hosted iframe). &amp;nbsp;The line says:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ifrm&lt;/SPAN&gt;.&lt;SPAN&gt;contentWindow&lt;/SPAN&gt;.&lt;SPAN&gt;postMessage&lt;/SPAN&gt;(&lt;SPAN&gt;str&lt;/SPAN&gt;, &lt;SPAN&gt;g_iframeCommunicatorUrl&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ifm seems to correclty identify the ifrmCommunicator element, the string is "action=cancel" and g_iframeCommunicatorUrl is set to the page iof my site that the iframe is on.&lt;/P&gt;&lt;P&gt;However, after that line, it doesn't seem to do anything. &amp;nbsp;I don't know what postMessage does, but on my popup.js script I can tell that the line that acceps the "action=cancel" passed string never gets called (which is why it doesn't hit the closePopup method). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? &amp;nbsp;Is the problem with postMessage? &amp;nbsp;Should my iframeCommunicatorUrl be set to something different? &amp;nbsp;I can't think of anythign else. &amp;nbsp;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2011 23:53:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13192#M7935</guid>
      <dc:creator>jschomay</dc:creator>
      <dc:date>2011-05-26T23:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13266#M7965</link>
      <description>&lt;P&gt;I'd also like to see a solution to this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to add your own "Close" button outside the iFrame (but in the popup) using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="javascript&amp;amp;colon;;" onclick="AuthorizeNetPopup.closePopup();" title="Close"&amp;gt; &amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that doesn't solve the button issue...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 04:49:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13266#M7965</guid>
      <dc:creator>robdowns</dc:creator>
      <dc:date>2011-06-01T04:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13304#M7980</link>
      <description>&lt;P&gt;I believe I have the solution to this issue and am sharing my findings here for anyone else (like robdowns) who ran into this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I worked quite a bit with the Authorize.net support engineers and this is what they suggested:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;1) &amp;nbsp; &amp;nbsp; &amp;nbsp;The structure of the zip files being used need to exactly match the ones attached in the email. If they don't match, then some things may not work correctly.&lt;/DIV&gt;&lt;DIV&gt;2) &amp;nbsp; &amp;nbsp; &amp;nbsp;If the token of the page is no longer valid, then that could cause an issue.&lt;/DIV&gt;&lt;DIV&gt;3) &amp;nbsp; &amp;nbsp; &amp;nbsp;The domain of the url for IframeCommunicator.html has to exactly match the domain of the page that launches the popup.&lt;/DIV&gt;&lt;DIV&gt;4) &amp;nbsp; &amp;nbsp; &amp;nbsp;Check the server logs to make sure that the url for IframeCommunicator.html is getting hit.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While none of this helped me directly, point #4 made me realize that indeed my contentx/IframeCommunicator.html never got hit, which had to be the problem. &amp;nbsp;After poking around I looked at my code that makes the XML request called&amp;nbsp;getHostedProfilePageRequest, specifically the url I set for the&amp;nbsp;hostedProfileIFrameCommunicatorUrl setting. &amp;nbsp;I had originially set it to the page that calls the popup, which seems to be incorrect. &amp;nbsp;I tried changing it to the url directly to my contentx/IframeCommunicator.html... and now the pop up closes! &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the issue was an incorrectly defined&amp;nbsp;hostedProfileIFrameCommunicatorUrl in the XML call. &amp;nbsp;I'm not sure if my new setting is the correctly solution to the error or if it causes any other side effects, but it seems to be working just fine so far. &amp;nbsp;I want to note that the documentation for this is poorly lacking and very vague - the best I found was in the XML support guide on page 17. &amp;nbsp;I recommend the support team makes it more clear exactely where the url should point (also the &lt;A target="_self" href="http://community.developer.authorize.net/t5/News-and-Announcements/New-Hosted-Option-for-CIM/td-p/12934"&gt;spelling error&lt;/A&gt; is still present, so don't get confused by that).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SOLUTION RECAP: Make sure your value for the&amp;nbsp;hostedProfileIFrameCommunicatorUrl setting in theXML&amp;nbsp;getHostedProfilePageRequest points directly to the&amp;nbsp;contentx/IframeCommunicator.html. &amp;nbsp;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 03:50:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13304#M7980</guid>
      <dc:creator>jschomay</dc:creator>
      <dc:date>2011-06-02T03:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13320#M7988</link>
      <description>&lt;P&gt;Thanks for posting this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get it working as well. My issue was the spelling error(!!!), but also realized I needed to test this outside our firewall...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 17:50:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/13320#M7988</guid>
      <dc:creator>robdowns</dc:creator>
      <dc:date>2011-06-02T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/16734#M9416</link>
      <description>&lt;P&gt;Yes, I had to pass the entire URL for that page - http:/domain.com/folder/contentx/IframeCommunicator.html﻿ - and then it closed appropriately. I don't know JS that well, but I would have thought it could do it on it's own..&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 19:58:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/16734#M9416</guid>
      <dc:creator>avimarcus</dc:creator>
      <dc:date>2011-09-05T19:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/19004#M10499</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At last i found a way to close the popup window. Please find&amp;nbsp;below code. you have to set the proper SettingType. This step is mentioned in Page 59 of CIM_SOAP_guide.pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;//Create empty CustomerProfile&lt;BR /&gt;&amp;nbsp;long profile_id = CreateCustomerProfile();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (profile_id &amp;lt;= 0) return;&lt;/P&gt;&lt;P&gt;&amp;nbsp;//set Input Parameters for GetHostedProfilePage&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CIMAPI.SettingType hps = new CIMAPI.SettingType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hps.settingName = "hostedProfileIFrameCommunicatorUrl";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hps.settingValue = "&lt;A href="http://localhost/IframeCommunicator.html" target="_blank"&gt;http://localhost/IframeCommunicator.html&lt;/A&gt;";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CIMAPI.SettingType hps1 = new CIMAPI.SettingType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hps1.settingName = "hostedProfilePageBorderVisible";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hps1.settingValue = "false";&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CIMAPI.SettingType[] hpsarr = new CIMAPI.SettingType[] { hps, hps1 };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CIMAPI.GetHostedProfilePageResponseType response = SoapAPIUtilities.Service.GetHostedProfilePage(SoapAPIUtilities.MerchantAuthentication, profile_id, hpsarr);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Token.Value = response.token;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you created the TokenId you can see "Addpayment Method", "Edit Payment Method", "Add a New Shipping Addres", "Edit Shipping Address" in your aspx page. After you enter the CC info press save / cancel button to close the popup window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is not closing the popup window after you apply the above code also. Please apply the following steps in your IE and check if it fixes the problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;a. Open Internet Explorer.&lt;BR /&gt;b. Go to Tools -&amp;gt; Internet Options -&amp;gt; Security&lt;BR /&gt;c. Select the "Security" tab -&amp;gt; Click the "Custom Level" button&lt;BR /&gt;d. In the "Miscellaneous" section change “Display mixed content” to Enable.&lt;BR /&gt;e. Click on Ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Reference: &lt;A href="http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/i-can-not-disable-the-warning-only-secure-content/84d2de56-3450-e011-8dfc-68b599b31bf5?msgId=6d3743b3-bb50-e011-8dfc-68b599b31bf5" target="_blank"&gt;http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/i-can-not-disable-the-warning-only-secure-content/84d2de56-3450-e011-8dfc-68b599b31bf5?msgId=6d3743b3-bb50-e011-8dfc-68b599b31bf5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sathish.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 10:12:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/19004#M10499</guid>
      <dc:creator>sathishbabu22</dc:creator>
      <dc:date>2011-11-17T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/24211#M12992</link>
      <description>&lt;P&gt;Thanks to Sathish and&amp;nbsp;jschomay.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using the info from both posts I have an asp.net sample app working!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By adding a contentx folder to the project and referencing the css/js files in it instead of copies I had scattered around my project, and by adding the SettingTypes to my SOAP call I am now getting the hosted iframe to close.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 04:47:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/24211#M12992</guid>
      <dc:creator>turnipcyberveg</dc:creator>
      <dc:date>2012-03-09T04:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/27042#M14324</link>
      <description>&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;Would you be so kind and post some pointers or example code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2012 09:03:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/27042#M14324</guid>
      <dc:creator>speTZnut</dc:creator>
      <dc:date>2012-06-10T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/29484#M15484</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;SPAN&gt;&lt;SPAN&gt;sathishbabu22&lt;/SPAN&gt;&lt;/SPAN&gt; ... your Solution worked for me ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:40:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/29484#M15484</guid>
      <dc:creator>anupritaw</dc:creator>
      <dc:date>2012-09-06T09:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/35371#M19766</link>
      <description>&lt;P&gt;&lt;SPAN&gt;So I am having the same issue...and the fix by Sathish worked! However....It only works when I change the settings in IE as he suggested. &amp;nbsp;This is a problem because by default "Display Mixed Content" is disabled in both Firefox and IE. &amp;nbsp;That means that the majority of users will have the same problem of the popup not closing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a solution for this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:41:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/35371#M19766</guid>
      <dc:creator>Zenacity1</dc:creator>
      <dc:date>2013-08-28T19:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/48597#M24436</link>
      <description>&lt;P&gt;Hi I am also trying to close popup after saving or close action. but it did not work. As you suggest i check my iframe communicator url (&lt;A target="_blank" rel="nofollow" href="https://test.com:8443/ecommerce/control/hostedProfileResponse%29"&gt;https://test.com:8443/ecommerce/control/hostedProfileResponse)&lt;/A&gt; give in the xml file called during open ifram.&amp;nbsp; Also the domain of the (&lt;A target="_blank" rel="nofollow" href="https://test.com:8443/ecommerce/control/callCim%29"&gt;https://test.com:8443/ecommerce/control/callCim)&lt;/A&gt; are same but i frame does't close on the action. I check in the browser console it gives issue &lt;STRONG&gt;Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "&lt;A target="_blank" rel="nofollow" href="https://test.com:8443%22"&gt;https://test.com:8443"&lt;/A&gt; from accessing a frame with origin "&lt;A target="_blank" rel="nofollow" href="https://test.authorize.net%22."&gt;https://test.authorize.net".&lt;/A&gt; Protocols, domains, and ports must match.&lt;/STRONG&gt;&amp;nbsp; Can you please suggest me waht i am doing wrong. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 09:47:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/48597#M24436</guid>
      <dc:creator>anchit</dc:creator>
      <dc:date>2014-11-08T09:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/48941#M24566</link>
      <description>&lt;P&gt;Found a simple solution to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added window.close() which close the popup after displaying the message "Your information&amp;nbsp;has been saved" on click of the save button&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizeNetPopup.closePopup = function() {&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;window.close();&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;document.getElementById("divAuthorizeNetPopupScreen").style.display = "none";&lt;BR /&gt;document.getElementById("divAuthorizeNetPopup").style.display = "none";&lt;BR /&gt;document.getElementById("iframeAuthorizeNet").src="contentx/empty.html";&lt;BR /&gt;if (AuthorizeNetPopup.options.onPopupClosed) AuthorizeNetPopup.options.onPopupClosed();&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more thing the hostedProfileIFrameCommunicatorUrl has to be with respect to the domain from where the popup is launched&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2014 05:48:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/48941#M24566</guid>
      <dc:creator>nitinb123</dc:creator>
      <dc:date>2014-11-21T05:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: CIM hosted form option - popup won't close on cancel or suscessful save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/52909#M28095</link>
      <description>&lt;P&gt;I use onclick function and hide the hosted form.But when i click on review button for payment it does'nt redirect next page.Is any solution?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 17:55:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-hosted-form-option-popup-won-t-close-on-cancel-or-suscessful/m-p/52909#M28095</guid>
      <dc:creator>amir2015</dc:creator>
      <dc:date>2015-11-06T17:55:24Z</dc:date>
    </item>
  </channel>
</rss>

