first commit
This commit is contained in:
62
modules/payu/views/templates/front/secureForm17.tpl
Normal file
62
modules/payu/views/templates/front/secureForm17.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
{*
|
||||
* @author PayU
|
||||
* @copyright Copyright (c) 2014-2018 PayU
|
||||
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
|
||||
*
|
||||
* http://www.payu.com
|
||||
*}
|
||||
{extends file=$layout}
|
||||
|
||||
{block name='content'}
|
||||
<section id="main">
|
||||
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>
|
||||
<script type="text/javascript" src="{$jsSdk}"></script>
|
||||
|
||||
<div class="clearfix">
|
||||
<h2 id="payuAmountInfo">{$payuOrderInfo}: <strong>{$total}</strong> {l s='(tax incl.)' mod='payu'}</h2>
|
||||
<img src="{$image}" id="payuLogo">
|
||||
</div>
|
||||
|
||||
{if $payuErrors|@count}
|
||||
<div class="alert alert-warning">
|
||||
{foreach $payuErrors as $error}
|
||||
{$error}<br>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
<section id="content" class="page-content page-cms">
|
||||
<form action="{$payuPayAction|escape:'html'}" method="post" id="payu-card-form">
|
||||
<input type="hidden" name="payuPay" value="1" />
|
||||
<input type="hidden" name="payMethod" value="card" />
|
||||
<input type="hidden" name="cardToken" value="" id="card-token" />
|
||||
<div id="card-form-container">
|
||||
{if isset($payMethods.error)}
|
||||
<h4 class="error">{l s='Error has occurred' mod='payu'}: {$payMethods.error}</h4>
|
||||
{else}
|
||||
<div id="payMethods" style="padding-bottom: 5px">
|
||||
<div id="response-box" class="alert alert-warning" style="display: none; margin-bottom: 10px"></div>
|
||||
|
||||
{include file='module:payu/views/templates/front/payuCardForm.tpl'}
|
||||
</div>
|
||||
{include file='module:payu/views/templates/front/conditions17.tpl'}
|
||||
{/if}
|
||||
|
||||
<p class="cart_navigation clearfix" id="cart_navigation">
|
||||
{if !$retryPayment}
|
||||
<a class="label" href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'html':'UTF-8'}">
|
||||
{l s='Other payment methods' mod='payu'}
|
||||
</a>
|
||||
{/if}
|
||||
{if !isset($payMethods.error)}
|
||||
<button class="btn btn-primary float-xs-right continue" type="submit" id="secure-form-pay">
|
||||
<span>{if !$retryPayment}{l s='I confirm my order' mod='payu'}{else}{l s='Pay' mod='payu'}{/if}</span>
|
||||
</button>
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
<div id="waiting-box" style="display: none">{l s='Please wait' mod='payu'}...</div>
|
||||
</form>
|
||||
</section>
|
||||
{include file='module:payu/views/templates/front/secureFormJs.tpl'}
|
||||
</section>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user