This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,48 @@
{*
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*}
<div
id="p24-blik-config-element"
data-ajaxurl="{$p24_charge_blik_url|escape:'html':'UTF-8'}"
data-pagetype="{$p24_page_type|escape:'html':'UTF-8'}"
data-cartid="{$p24_cart_id|escape:'html':'UTF-8'}"
></div>
<div style="display: none;">
<div>
<div id="p24-blik-section" class="p24-inside-section">
<h1>{l s='Enter BLIK code' mod='przelewy24'}</h1>
<form method="post">
<div>
<p>{l s='Enter 6-digit BLIK code from Your bank application.' mod='przelewy24'}</p>
<p>
<input
minlength="6"
maxlength="6"
pattern="^\d{'{6}'|escape:'htmlall':'UTF-8'}$"
type="text"
name="blik"
placeholder="______"
>
</p>
{if $p24_blik_needs_term_accept }
<p>
<input type="checkbox" name="terms" id="p24-blik-regulation-accept" value="1">
{l s='Please accept' mod='przelewy24'}
<a href="http://www.przelewy24.pl/regulamin.htm" target="_blank">
{l s='the Przelewy24 Terms' mod='przelewy24'}
</a>
</p>
{/if}
<p class="error error-code">{l s='Invalid BLIK code.' mod='przelewy24'}</p>
<p class="error error-regulation">{l s='Terms not accepted.' mod='przelewy24'}</p>
<p class="error error-pr-regulation">{l s='Terms of this shop not accepted.' mod='przelewy24'}</p>
<p>
<button>{l s='Pay by BLIK' mod='przelewy24'}</button>
</p>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,49 @@
{*
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*}
<div
id="p24-card-config-element"
data-ajaxurl="{$p24_charge_card_url|escape:'html':'UTF-8'}"
data-pagetype="{$p24_page_type|escape:'html':'UTF-8'}"
data-cartid="{$p24_cart_id|escape:'html':'UTF-8'}"
data-ids="{$p24_card_ids_string|escape:'html':'UTF-8'}"
data-success-url="{$p24_success_url|escape:'html':'UTF-8'}"
data-failure-url="{$p24_failure_url|escape:'html':'UTF-8'}"
data-terms-confirm-required="{if $p24_card_needs_term_accept}true{else}false{/if}"
></div>
<div style="display: none;">
<div>
<div id="p24-card-section" class="p24-inside-section">
<h1>{l s='Register card and payment' mod='przelewy24'}</h1>
{if $p24_card_needs_term_accept}
<p>
<input type="checkbox" name="terms" id="p24-card-regulation-accept" value="1">
{l s='Please accept' mod='przelewy24'}
<a href="http://www.przelewy24.pl/regulamin.htm" target="_blank">
{l s='the Przelewy24 Terms' mod='przelewy24'}
</a>
</p>
{/if}
<div
id="P24FormContainer"
data-successCallback="payInShopSuccess"
data-failureCallback="payInShopFailure"
data-cartid="{$p24_cart_id|escape:'html':'UTF-8'}"
data-dictionary='{
"cardHolderLabel":"{l s='Name and surname' mod='przelewy24'}",
"cardNumberLabel":"{l s='Card number' mod='przelewy24'}",
"cvvLabel":"{l s='cvv' mod='przelewy24'}",
"expDateLabel":"{l s='Expired date' mod='przelewy24'}",
"payButtonCaption":"{l s='Pay by card' mod='przelewy24'}",
"description":"{l s='Register card and payment' mod='przelewy24'}",
"threeDSAuthMessage":"{l s='Click to redirect to 3ds payment.' mod='przelewy24'}",
"registerCardLabel":"{l s='Register card' mod='przelewy24'}"
}'
>
</div>
<div class="p24-card-loader"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<?php
/**
* @author Przelewy24
* @copyright Przelewy24
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*/
header('Location: ../');

View File

@@ -0,0 +1,18 @@
{*
*
* @author Przelewy24
* @copyright Przelewy24
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*
*}
{if $currency.iso_code_num === '985' } {* Polish zloty iso code*}
<div>
<a target="_blank" href="{$installment_payment[constant('Przelewy24InstallmentPayment::LIVE_URL')]|escape:'html':'UTF-8'}kalkulator_raty/index.html?{constant('Przelewy24InstallmentPayment::QUERY_PARAMETER_AMOUNT_NAME')|escape:'html':'UTF-8'}={$installment_payment[constant('Przelewy24InstallmentPayment::PRODUCT_AMOUNT')]}" title="Raty Alior Bank">
<img class="installment-payment-logo-alior-bank" src="{$urls.base_url}modules/przelewy24/views/img/logo_alior.jpg" alt="Logo Alior Bank">{$installment_payment[constant('Przelewy24InstallmentPayment::PART_COUNT')]} rat x ~{$installment_payment[constant('Przelewy24InstallmentPayment::PART_COST')]}
</a>
<br>
<a target="_blank" href="https://www.mbank.net.pl/mraty_1/index.html?kwota={$installment_payment[constant('Przelewy24InstallmentPayment::PRODUCT_AMOUNT')]}" title="Raty Mbank">
<img class="installment-payment-logo-mbank" src="{$urls.base_url}modules/przelewy24/views/img/logo_mbank.gif" alt="Logo Mbank">
</a>
</div>
{/if}

View File

@@ -0,0 +1,17 @@
{*
*
* @author Przelewy24
* @copyright Przelewy24
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*
*}
<div class="p24-text-center">
<div class="p24-stuff-nav">
<div class="p24-more-stuff p24-stuff">
{l s='More payment methods' mod='przelewy24'}
</div>
<div class="p24-less-stuff p24-stuff">
{l s='Less payment methods' mod='przelewy24'}
</div>
</div>
</div>

View File

@@ -0,0 +1,9 @@
{*
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*}
<div
id="p24-other-config-element"
data-pagetype="{$p24_page_type|escape:'html':'UTF-8'}"
data-card-ids="{$p24_card_ids_string|escape:'html':'UTF-8'}"
></div>