-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from wirecard/TPWDCEE-678
Tpwdcee 678
- Loading branch information
Showing
6 changed files
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
app/design/frontend/base/default/template/wirecard/checkoutpage/additional/script.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php if ($this->getConsumerDeviceId()) { ?> | ||
<script language="JavaScript"> | ||
var di = {t:'<?php echo $this->getConsumerDeviceId(); ?>',v:'WDWL',l:'Checkout'}; | ||
</script> | ||
<script type="text/javascript" src="//d.ratepay.com/<?php echo $this->getConsumerDeviceId(); ?>/di.js"></script> | ||
<noscript> | ||
<link rel="stylesheet" type="text/css" href="//d.ratepay.com/di.css?t=<?php echo $this->getConsumerDeviceId(); ?>&v=WDWL&l=Checkout"> | ||
</noscript> | ||
<object type="application/x-shockwave-flash" data="//d.ratepay.com/WDWL/c.swf" width="0" height="0"> | ||
<param name="movie" value="//d.ratepay.com/WDWL/c.swf" /> | ||
<param name="flashvars" value="t=<?php echo $this->getConsumerDeviceId(); ?>&v=WDWL"/> | ||
<param name="AllowScriptAccess" value="always"/> | ||
</object> | ||
<?php if ($this->getConsumerDeviceId() && $this->isRatepayPaymentProvider()) { ?> | ||
<script language="JavaScript"> | ||
var di = {t:'<?php echo $this->getConsumerDeviceId(); ?>',v:'WDWL',l:'Checkout'}; | ||
</script> | ||
<script type="text/javascript" src="//d.ratepay.com/<?php echo $this->getConsumerDeviceId(); ?>/di.js"></script> | ||
<noscript> | ||
<link rel="stylesheet" type="text/css" href="//d.ratepay.com/di.css?t=<?php echo $this->getConsumerDeviceId(); ?>&v=WDWL&l=Checkout"> | ||
</noscript> | ||
<object type="application/x-shockwave-flash" data="//d.ratepay.com/WDWL/c.swf" width="0" height="0"> | ||
<param name="movie" value="//d.ratepay.com/WDWL/c.swf" /> | ||
<param name="flashvars" value="t=<?php echo $this->getConsumerDeviceId(); ?>&v=WDWL"/> | ||
<param name="AllowScriptAccess" value="always"/> | ||
</object> | ||
<?php } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters