- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
โ09-16-2017 10:15 AM