{* * * @author Przelewy24 * @copyright Przelewy24 * @license https://www.gnu.org/licenses/lgpl-3.0.en.html * *} {* The may_skip varialbe is overwritten if widgets the user can interact with are rendered. *}
{l s='Pay with Przelewy24' mod='przelewy24'} {if 'ok' === $status}

{l s='Your order is ready.' mod='przelewy24'}
{l s='Total amount' mod='przelewy24'}: {$total_to_pay}
{l s='We sent for you email with this information.' mod='przelewy24'}
{l s='For any questions or information, contact with' mod='przelewy24'} {l s='customer service' mod='przelewy24'}.

{if $p24_paymethod_list_exists}

{l s='Select payment method' mod='przelewy24'}:

{elseif $payment_method_selected_id > 0}

{l s='Your payment method' mod='przelewy24'}: {$payment_method_selected_name}

{$payment_method_selected_name}

{/if} {if $card_remember_input} {if $customer_cards|sizeof > 0} {assign var='may_skip' value=false}

{l s='Your stored credit cards' mod='przelewy24'}:

{foreach from=$customer_cards key=id item=card}
{$card.card_type}
{/foreach}
{/if} {if !$customer_is_guest} {assign var='may_skip' value=false}
{/if} {/if}
{if $p24_paymethod_list_exists} {assign var='may_skip' value=false} {if $p24_paymethod_graphics} {if $p24_paymethod_list_first|sizeof > 0} {if (isset($p24_paymethod_list_first[266]) || isset($p24_paymethod_list_second[266])) && Configuration::get('P24_NOW_PROMOTE') && $p24_amount < 1000000 && $p24_currency == "PLN"} {/if} {/if} {/if} {/if}
{if $p24_paymethod_list_exists} {assign var='may_skip' value=false} {if $p24_paymethod_graphics}
{if $p24_paymethod_list_first|sizeof > 0} {foreach $p24_paymethod_list_first as $bank_id => $bank_name} {if !empty($bank_name)} {if ($bank_id|intval) != 266 && ($bank_id|intval) != 294} {$showMethod=true} {elseif ($bank_id|intval) === 266 && ($p24_amount <= 1000000 && $p24_currency == "PLN" && (Configuration::get('P24_NOW_PROMOTE')|intval) === 1)} {$showMethod=true} {elseif ($bank_id|intval) === 294 && ($p24_amount >= 15000 && $p24_amount <= 3000000)} {$showMethod=true} {else} {$showMethod=false} {/if} {if $showMethod === true}
{$bank_name}
{/if} {/if} {/foreach} {/if}
{l s='More payment methods' mod='przelewy24'}
{l s='Less payment methods' mod='przelewy24'}
{else} {include file="module:przelewy24/views/templates/hook/parts/nav_more_less.tpl"} {/if} {/if}
{foreach $p24ProductItems as $name => $value} {/foreach} {if $accept_in_shop} {assign var='may_skip' value=false}

{l s='Please accept' mod='przelewy24'} {l s='the Przelewy24 Terms' mod='przelewy24'}

{/if}
{if $accept_in_shop} {$submitButtonDisabled = 'disabled'} {else} {$submitButtonDisabled = ''} {/if} {if $payment_method_selected_id > 0} {elseif isset($p24_blik_code)} {else} {/if}
{if !isset($p24_blik_code)}

{l s='Now you will be redirected to the Przelewy24 to process payments.' mod='przelewy24'}

{/if} {elseif 'payment' === $status}

{l s='Thank you for your order' mod='przelewy24'}

{else}

{l s='There was an error. Contact with' mod='przelewy24'} {l s='customer service' mod='przelewy24'}.

{/if}
{if $p24_card_inside_enable and 0 === $payment_method_selected_id} {assign var='may_skip' value=false} {include file="module:przelewy24/views/templates/hook/parts/card_html_code.tpl"} {/if} {if $p24_blik_inside_enable and 0 === $payment_method_selected_id} {assign var='may_skip' value=false} {include file="module:przelewy24/views/templates/hook/parts/blik_html_code.tpl"} {/if} {literal} {/literal} {if $may_skip} {/if}