Skip to content

Commit

Permalink
wait template for ps16
Browse files Browse the repository at this point in the history
  • Loading branch information
zuk3975 committed Jul 8, 2024
1 parent c424c21 commit 0e6a35f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
7 changes: 6 additions & 1 deletion controllers/front/return.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ public function initContent()
)
);

$this->setTemplate(SaferPayConfig::SAFERPAY_TEMPLATE_LOCATION . '/front/saferpay_wait.tpl');
if (SaferPayConfig::isVersion17()) {
$this->setTemplate(SaferPayConfig::SAFERPAY_TEMPLATE_LOCATION . '/front/saferpay_wait.tpl');
return;
}

$this->setTemplate('saferpay_iframe_16.tpl');
}

protected function processAjax()
Expand Down
32 changes: 32 additions & 0 deletions views/templates/front/saferpay_wait_16.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{**
*NOTICE OF LICENSE
*
*This source file is subject to the Open Software License (OSL 3.0)
*that is bundled with this package in the file LICENSE.txt.
*It is also available through the world-wide-web at this URL:
*http://opensource.org/licenses/osl-3.0.php
*If you did not receive a copy of the license and are unable to
*obtain it through the world-wide-web, please send an email
*to [email protected] so we can send you a copy immediately.
*
*DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
*versions in the future. If you wish to customize PrestaShop for your
*needs please refer to http://www.prestashop.com for more information.
*
*@author INVERTUS UAB www.invertus.eu <[email protected]>
*@copyright SIX Payment Services
*@license SIX Payment Services
*}
{block name='header'}
{/block}
{block name='head'}
{/block}

{block name='content'}
{include file="./saferpay_iframe.tpl"}
{/block}

{block name='footer'}
{/block}

0 comments on commit 0e6a35f

Please sign in to comment.