Skip to content

Commit

Permalink
Merge pull request #175 from Invertus/wait-tpl-16
Browse files Browse the repository at this point in the history
 wait template for ps16
  • Loading branch information
zuk3975 authored Jul 8, 2024
2 parents c424c21 + 9b1fc36 commit 3c89b8b
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_wait_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 license@prestashop.com 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 <support@invertus.eu>
*@copyright SIX Payment Services
*@license SIX Payment Services
*}
{block name='header'}
{/block}
{block name='head'}
{/block}

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

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

0 comments on commit 3c89b8b

Please sign in to comment.