cancel
Showing results for 
Search instead for 
Did you mean: 

question on iframe

I am using an iframe to display the form test.authorize.ent/payment/payment. when i press the contunite button on the authorize.net page it should close the iframe and take you to the final check out page. it opens in the iframe. Does anyone have an idea how to do this. 

Below s the code i am using to call the iframe

 <div id="myForm" style="display:none">
    <div id="inline_content">
        <script src="Scripts/colorbox/jquery.colorbox.js"></script>
           <script type="text/javascript">
        $(".inline").colorbox({
            inline: true,
            opacity: 0.5, // overlay a bit less dark
            innerWidth: 640,
            innerHeight: 390,
            onComplete: function () { document.OutputForm.submit() }
        });

       
    </script>
         
        <form name="OutputForm" method="post" action="https://test.authorize.net/payment/payment" target="payframe" id="LinkTo" class="ShowForm">
      <input type="hidden" id="InToken" name="Token" value="" />
       </form>
        <iframe id="payframe" name="payframe"></iframe>
        </div>
        </div>

rrr944276
Contributor
0 REPLIES 0