Everything works in the popup as expected. I just can't get the IframeCommunicator.html scripts to load and fire.
Thus, the popup will not close. I am running this in the production environment so the url's are https.
FYI, the Orion folder in my url is a web site running under the invoicesanywhere site. It has it's own application pool.
In webconfig
<addkey="MainWebURL"value="https://www.invoicesanywhere.com/orion/"/>
on my test aspx.vb page:
obj8(0).settingName ="hostedProfileIFrameCommunicatorUrl"
obj8(0).settingValue ="https://www.invoicesanywhere.com/orion/AuthNet/IframeCommunicator.html"
obj8(1).settingName ="hostedProfilePageBorderVisible"
obj8(1).settingValue ="false"
Mixed content is set to Enable
this function is never fired (obviously)
AuthorizeNetPopup.onReceiveCommunication =function (querystr) {
Here is my aspx code:
<%
@PageLanguage="vb"AutoEventWireup="false"CodeBehind="Hosted1.aspx.vb"Inherits="Orion.Hosted1">
<!DOCTYPEhtml>
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title></title>
<linkhref="AuthNet/manage.css"rel="stylesheet"type="text/css"/>
<scripttype="text/javascript"src="AuthNet/popup.js"></script>
<scripttype="text/javascript">
// Uncomment this line to use test.authorize.net instead of secure.authorize.net.
AuthorizeNetPopup.options.useTestEnvironment =true;
</script>
</head>
<body>
<form method="post"action="https://test.authorize.net/hosted/profile/manage"id="formAuthorizeNetPopup"name="formAuthorizeNetPopup"target="iframeAuthorizeNet"style="display:none;">
<inputrunat="server"type="hidden"id="Token" name="Token"/>
</form>
<buttononclick="AuthorizeNetPopup.openManagePopup()">Manage my payment</button>
<divid="divAuthorizeNetPopup"style="display:none;"class="AuthorizeNetPopupGrayFrameTheme">
<divclass="AuthorizeNetPopupOuter">
<divclass="AuthorizeNetPopupTop">
<divclass="AuthorizeNetPopupClose">
<ahref="javascript:;"onclick="AuthorizeNetPopup.closePopup();"title="Close"></a>
</div>
</div>
<divclass="AuthorizeNetPopupInner">
<iframename="iframeAuthorizeNet"id="iframeAuthorizeNet"src="authnet/empty.html"style="border:none; scrollbar-face-color:none"></iframe>
</div>
<divclass="AuthorizeNetPopupBottom">
<divclass="AuthorizeNetPopupLogo"title="Powered by Authorize.Net"></div>
</div>
</div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowT"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowR"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowB"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowL"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowTR"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowBR"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowBL"></div>
<divclass="AuthorizeNetShadow AuthorizeNetShadowTL"></div>
</div>
<divid="divAuthorizeNetPopupScreen"style="display:none;"></div>
</body>
</html>
Anyone have any ideas? I have tried everything I could possibly think of.