update
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* @copyright mElements S.A.
|
||||
* @license MIT License
|
||||
*}
|
||||
<form class="payment-form paynow-payment-form paynow-blik-form" data-method="POST" data-action="{$action_blik}" data-token="{$action_token}" data-error-message="{$error_message}" data-terms-message="{$terms_message}">
|
||||
<form class="payment-form paynow-payment-form paynow-blik-form" data-method="POST" data-action="{$action_blik}" data-token="{$action_token}" data-token-refresh="{$action_token_refresh}" data-error-message="{$error_message}" data-terms-message="{$terms_message}" data-blik-autofocus="{$blik_autofocus}">
|
||||
<div class="paynow-payment-option-container">
|
||||
<div class="form-group row">
|
||||
<label for="paynow_blik_code" class="col-md-3 form-control-label required">
|
||||
@@ -26,4 +26,4 @@
|
||||
</div>
|
||||
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
{*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the MIT License (MIT)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
*
|
||||
* @author mElements S.A.
|
||||
* @copyright mElements S.A.
|
||||
* @license MIT License
|
||||
*}
|
||||
<form class="payment-form paynow-payment-form paynow-payment-form-card" action="{$action_card}" method="POST">
|
||||
<input type="hidden" name="paymentMethodFingerprint" id="payment-method-fingerprint" value="">
|
||||
{if $paynow_card_instruments}
|
||||
<div class="paynow-payment-option-container">
|
||||
<p>{l s='Select a saved card or enter new card details:' mod='paynow'}</p>
|
||||
<div class="paynow-payment-card">
|
||||
{foreach from=$paynow_card_instruments item=instrument}
|
||||
<div class="paynow-payment-card-option" id="wrapper-{$instrument->getToken()}">
|
||||
<input type="radio" name="paymentMethodToken" value="{$instrument->getToken()}" id="{$instrument->getToken()}" {if $instrument->isExpired()} disabled {/if}>
|
||||
<label for="{$instrument->getToken()}">
|
||||
<div class="paynow-payment-card-image">
|
||||
<img src="{$instrument->getImage()}" alt="{$instrument->getBrand()}">
|
||||
</div>
|
||||
<div class="paynow-payment-card-details">
|
||||
{if $instrument->isExpired()}
|
||||
<p class="paynow-payment-card-details-card-name paynow-expired">{l s='Card:' mod='paynow'} {$instrument->getName()}</p>
|
||||
<p class="paynow-payment-card-details-expiration paynow-expired">{l s='Expired:' mod='paynow'} {$instrument->getExpirationDate()}</p>
|
||||
{else}
|
||||
<p class="paynow-payment-card-details-card-name">{l s='Card:' mod='paynow'} {$instrument->getName()}</p>
|
||||
<p class="paynow-payment-card-details-expiration">{l s='Expires:' mod='paynow'} {$instrument->getExpirationDate()}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</label>
|
||||
<div class="paynow-payment-card-menu">
|
||||
<button class="paynow-payment-card-menu-button" type="button">
|
||||
{l s='remove' mod='paynow'}
|
||||
</button>
|
||||
<button
|
||||
class="paynow-payment-card-remove --hidden" type="button"
|
||||
data-remove-saved-instrument="{$instrument->getToken()}"
|
||||
data-action="{$action_remove_saved_instrument}"
|
||||
data-token="{$action_remove_saved_instrument_token}"
|
||||
data-error-message="{l s='An error occurred while deleting the saved card.' mod='paynow'}"
|
||||
>
|
||||
{l s='Remove card' mod='paynow'}
|
||||
</button>
|
||||
</div>
|
||||
<span class="paynow-payment-card-error"></span>
|
||||
</div>
|
||||
{/foreach}
|
||||
<div class="paynow-payment-card-option">
|
||||
<input type="radio" name="paymentMethodToken" value="" id="paymentMethodToken-default">
|
||||
<label for="paymentMethodToken-default">
|
||||
<div class="paynow-payment-card-image">
|
||||
<img src="{$default_card_image}" alt="Card default icon">
|
||||
</div>
|
||||
<div class="paynow-payment-card-details">
|
||||
<p class="paynow-payment-card-details-card-name">{l s='Enter your new card details' mod='paynow'}</p>
|
||||
<p class="paynow-payment-card-details-expiration">{l s='You can save it in the next step' mod='paynow'}</p>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
</form>
|
||||
@@ -0,0 +1,23 @@
|
||||
{*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the MIT License (MIT)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
*
|
||||
* @author mElements S.A.
|
||||
* @copyright mElements S.A.
|
||||
* @license MIT License
|
||||
*}
|
||||
{if $paynowDigitalWalletsPayments}
|
||||
<form class="payment-form paynow-payment-form" method="POST" action="{$action}">
|
||||
<div class="paynow-payment-option-container">
|
||||
<p>{l s='Choose wallet:' mod='paynow'}</p>
|
||||
<div class="row paynow-payment-pbls">
|
||||
{foreach from=$paynowDigitalWalletsPayments item=method}
|
||||
{include file="module:paynow/views/templates/front/1.7/_partials/payment_method_pbl.tpl"}
|
||||
{/foreach}
|
||||
</div>
|
||||
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
@@ -0,0 +1,15 @@
|
||||
{*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the MIT License (MIT)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
*
|
||||
* @author mElements S.A.
|
||||
* @copyright mElements S.A.
|
||||
* @license MIT License
|
||||
*}
|
||||
<form class="payment-form paynow-payment-form" method="POST" action="{$action_paypo}">
|
||||
<div class="paynow-payment-option-container">
|
||||
{include file="module:paynow/views/templates/front/1.7/_partials/payment_data_processing_info.tpl"}
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user