Jump to content

Fancybox Iframe For Dibs Payment


Recommended Posts

Been trying to get this to work now several hours and cant seam to got it to work at all.

 

The following code does not work. The fancbox pops up displaying that it couldent load the data. Does anyone have any suggestions on have to make this work?

 

<p class="payment_module">
<a href="javascript:document.dibs_form.submit();" class="iframe" title="{l s='Pay with dibs' mod='dibs'}" style="height:48px">
	<span style="height:40px;width:86px;float:left"><img src="{$module_dir}logos/dibs_{$logo_color}.jpg" alt="{l s='dibs logo' mod='dibs'}" /></span>
	<span style="width:350px;float:left;margin-left:10px"><strong>{l s='Pay with dibs' mod='dibs'}</strong><br />{l s='Pay safely and quickly with dibs.' mod='dibs'}</span>
	<div style="clear:both;height:0;line-height:0"> </div>
</a>
<div style="clear:both;height:0;line-height:0"> </div>
</p>



<form id="dibs_form" name="dibs_form" action="https://payment.architrade.com/paymentweb/start.action" method="post">
{foreach from=$p key=k item=v}
<input type="hidden" name="{$k}"  value="{$v}" />
{/foreach}
</form>

<script type="text/javascript">$('a.iframe').fancybox();</script>

Link to comment
Share on other sites

Been trying to get this to work now several hours and cant seam to got it to work at all.

 

The following code does not work. The fancbox pops up displaying that it couldent load the data. Does anyone have any suggestions on have to make this work?

 

<p class="payment_module">
<a href="javascript:document.dibs_form.submit();" class="iframe" title="{l s='Pay with dibs' mod='dibs'}" style="height:48px">
	<span style="height:40px;width:86px;float:left"><img src="{$module_dir}logos/dibs_{$logo_color}.jpg" alt="{l s='dibs logo' mod='dibs'}" /></span>
	<span style="width:350px;float:left;margin-left:10px"><strong>{l s='Pay with dibs' mod='dibs'}</strong><br />{l s='Pay safely and quickly with dibs.' mod='dibs'}</span>
	<div style="clear:both;height:0;line-height:0"> </div>
</a>
<div style="clear:both;height:0;line-height:0"> </div>
</p>



<form id="dibs_form" name="dibs_form" action="https://payment.architrade.com/paymentweb/start.action" method="post">
{foreach from=$p key=k item=v}
<input type="hidden" name="{$k}"  value="{$v}" />
{/foreach}
</form>

<script type="text/javascript">$('a.iframe').fancybox();</script>

 

 

Hi acateon,

 

Do you have any link to your site?

 

//Mike

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...