first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
<div class="row">
<div class="col-lg-12">
<div class="panel">
<div class="panel-heading">
<i class="icon-credit-card"></i>
{if {l s='BACKEND_GENERAL_INFORMATION' mod='paylane'} == "BACKEND_GENERAL_INFORMATION"}PAYMENT INFORMATION{else}{l s='BACKEND_GENERAL_INFORMATION' mod='paylane'}{/if}
<span class="badge">{if {l s='BACKEND_TT_BY_PAYLANE' mod='paylane'} == "BACKEND_TT_BY_PAYLANE"}by Paylane{else}{l s='BACKEND_TT_BY_PAYLANE' mod='paylane'}{/if}</span>
</div>
<div id="paymentinfos" class="well col-xs-12">
<form method='POST' action="">
<div id="paymentinfo">
<div class="form-group">
<label class="col-lg-12">{$paymentInfo.name|escape:'htmlall':'UTF-8'}</label>
</div>
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_ORDER_STATUS' mod='paylane'} == "PAYLANE_BACKEND_ORDER_STATUS"}Payment status{else}{l s='PAYLANE_BACKEND_ORDER_STATUS' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.status|escape:'htmlall':'UTF-8'}</label>
</div>
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_ORDER_PM' mod='paylane'} == "PAYLANE_BACKEND_ORDER_PM"}Used payment method{else}{l s='PAYLANE_BACKEND_ORDER_PM' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.method|escape:'htmlall':'UTF-8'}</label>
</div>
{if isset($paymentInfo.order_origin)}
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_ORDER_ORIGIN' mod='paylane'} == "PAYLANE_BACKEND_ORDER_ORIGIN"}Order originated from{else}{l s='PAYLANE_BACKEND_ORDER_ORIGIN' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.order_origin|escape:'htmlall':'UTF-8'}</label>
</div>
{/if}
{if isset($paymentInfo.order_country)}
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_ORDER_COUNTRY' mod='paylane'} == "PAYLANE_BACKEND_ORDER_COUNTRY"}Country (of the card-issuer){else}{l s='PAYLANE_BACKEND_ORDER_COUNTRY' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.order_country|escape:'htmlall':'UTF-8'}</label>
</div>
{/if}
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_ORDER_CURRENCY' mod='paylane'} == "PAYLANE_BACKEND_ORDER_CURRENCY"}Currency{else}{l s='PAYLANE_BACKEND_ORDER_CURRENCY' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.currency|escape:'htmlall':'UTF-8'}</label>
</div>
<div class="form-group">&nbsp;</div>
<div class="form-group">
<label class="col-lg-3">{if {l s='BACKEND_TT_TRANSACTION_ID' mod='paylane'} == "BACKEND_TT_TRANSACTION_ID"}Transaction ID{else}{l s='BACKEND_TT_TRANSACTION_ID' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.transaction_id|escape:'htmlall':'UTF-8'}</label>
</div>
{if isset($paymentInfo.paylane_account)}
<div class="form-group">
<label class="col-lg-3">{if {l s='PAYLANE_BACKEND_EMAIL_ACCOUNT' mod='paylane'} == "PAYLANE_BACKEND_EMAIL_ACCOUNT"}Email address of paylane account{else}{l s='PAYLANE_BACKEND_EMAIL_ACCOUNT' mod='paylane'}{/if}</label>
<label class="control-label col-lg-9">{$paymentInfo.paylane_account|escape:'htmlall':'UTF-8'}</label>
</div>
{/if}
</div>
</form>
</div>
<div style="clear:both"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,21 @@
{*
* prestashop 1.6
*}
<script>
setTimeout(function() {
var paymentOptions = document.querySelector(".payment-option");
if (paymentOptions !== undefined && paymentOptions.length === undefined) { // only one payment method active
var inputId = paymentOptions.id.replace('-container', '');
document.getElementById(inputId).checked = true;
var additionalInformation = document.getElementById(inputId + '-additional-information');
if (additionalInformation) {
additionalInformation.style.display = "block";
}
var formObj = document.getElementById('pay-with-' + inputId + '-form');
if (formObj) {
formObj.style.display = "block";
}
}
}, 500);
</script>

View File

@@ -0,0 +1,6 @@
{if $status == 'ok'}
<p>
{if {l s='FRONTEND_MESSAGE_YOUR_ORDER' mod='paylane'} == "FRONTEND_MESSAGE_YOUR_ORDER"}Your order on{else}{l s='FRONTEND_MESSAGE_YOUR_ORDER' mod='paylane'}{/if} {$shop_name|escape:'htmlall':'UTF-8'} {if {l s='FRONTEND_MESSAGE_COMPLETE' mod='paylane'} == "FRONTEND_MESSAGE_COMPLETE"}is complete.{else}{l s='FRONTEND_MESSAGE_COMPLETE' mod='paylane'}{/if}<br/>
{if {l s='FRONTEND_MESSAGE_THANK_YOU' mod='paylane'} == "FRONTEND_MESSAGE_THANK_YOU"}Thank you for your purchase!{else}{l s='FRONTEND_MESSAGE_THANK_YOU' mod='paylane'}{/if}
</p>
{/if}

View File

@@ -0,0 +1,7 @@
{if $status == 'ok'}
<p style="color: #458a45;">{l s='Payment processed successfully' mod='paylane'}</p>
{else}
<p style="color: #ff0000;">{l s='Payment not processed successfully' mod='paylane'}</p>
<p>{l mod='paylane' s="Please contact shop administrator for further information."}</p>
{/if}