{% capture append = "oxidBlock_content" %}
{% block checkout_payment_main %} {% block checkout_payment_errors %} {% set iPayError = oView.getPaymentError() %} {% if iPayError == 1 %}
{{ translate({ ident: "ERROR_MESSAGE_COMPLETE_FIELDS_CORRECTLY" }) }}
{% elseif iPayError == 2 %}
{{ translate({ ident: "MESSAGE_PAYMENT_AUTHORIZATION_FAILED" }) }}
{% elseif iPayError == 4 %}
{{ translate({ ident: "MESSAGE_UNAVAILABLE_SHIPPING_METHOD" }) }}
{% elseif iPayError == 5 %}
{{ translate({ ident: "MESSAGE_PAYMENT_AUTHORIZATION_FAILED" }) }}
{% elseif iPayError >= 6 %}
{{ translate({ ident: "MESSAGE_PAYMENT_AUTHORIZATION_FAILED" }) }}
{% elseif iPayError == -1 %}
{{ translate({ ident: "MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT_ERROR" }) }} "{{ oView.getPaymentErrorText() }}").
{% elseif iPayError == -2 %}
{{ translate({ ident: "MESSAGE_NO_SHIPPING_METHOD_FOUND" }) }}
{% elseif iPayError == -3 %}
{{ translate({ ident: "MESSAGE_PAYMENT_SELECT_ANOTHER_PAYMENT" }) }}
{% elseif iPayError == -4 %}
{{ translate({ ident: "MESSAGE_PAYMENT_BANK_CODE_INVALID" }) }}
{% elseif iPayError == -5 %}
{{ translate({ ident: "MESSAGE_PAYMENT_ACCOUNT_NUMBER_INVALID" }) }}
{% endif %} {% endblock %} {% block change_payment %} {{ script({ include: "js/payment.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }} {% if oView.getPaymentList() %}

{{ translate({ ident: "PAYMENT_METHOD" }) }}

{% set inptcounter = "-1" %} {% for sPaymentID, paymentmethod in oView.getPaymentList() %} {% set inptcounter = inptcounter+1 %} {% block select_payment %} {% if sPaymentID == "oxidcashondel" %} {% include "page/checkout/inc/payment_oxidcashondel.html.twig" %} {% elseif sPaymentID == "oxiddebitnote" %} {% include "page/checkout/inc/payment_oxiddebitnote.html.twig" %} {% else %} {% include "page/checkout/inc/payment_other.html.twig" %} {% endif %} {% endblock %} {% endfor %} {% block checkout_payment_nextstep %} {% if oView.isLowOrderPrice() %}
{{ translate({ ident: "MIN_ORDER_PRICE" }) }} {{ oView.getMinOrderPrice() }} {{ currency.sign }}
{% else %} {# {{ translate({ ident: "PREVIOUS_STEP" }) }} #} {# #} {% endif %} {% endblock %}
{% elseif oView.getEmptyPayment() %} {% block checkout_payment_nopaymentsfound %}

{{ translate({ ident: "PAYMENT_INFORMATION" }) }}

{% include_content "oxnopaymentmethod" ignore missing %}
{% endblock %} {% endif %}
{% endblock %} {% set currency = oView.getActCurrency() %} {% block change_shipping %} {% if oView.getAllSets() %} {% set aErrors = oView.getFieldValidationErrors() %}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }}

{{ translate({ ident: "SELECT_SHIPPING_METHOD" }) }}

{% block act_shipping %}
{% endblock %} {% set oDeliveryCostPrice = oxcmp_basket.getDeliveryCost() %} {% if oDeliveryCostPrice and oDeliveryCostPrice.getPrice() > 0 %}
{% if oViewConf.isFunctionalityEnabled('blShowVATForDelivery') %} {{ translate({ ident: "CHARGES", suffix: "COLON" }) }} {{ format_price(oDeliveryCostPrice.getNettoPrice(), { currency: currency }) }} ({{ translate({ ident: "PLUS_VAT" }) }} {{ format_price(oDeliveryCostPrice.getVatValue(), { currency: currency }) }}) {% else %} {{ translate({ ident: "CHARGES", suffix: "COLON" }) }} {{ format_price(oDeliveryCostPrice.getBruttoPrice(), { currency: currency }) }} {% endif %}
{% endif %}
{% endif %} {% endblock %} {% endblock %}
{{ translate({ ident: "PREVIOUS_STEP" }) }}
{% include "page/checkout/inc/summary_sidebar.html.twig" %}
{{ insert_tracker({title: template_title}) }} {% endcapture %} {% include "layout/page.html.twig" with {active_step: 2} %}