{% load i18n %}

<p>
    {% if method == "wallet" %}
        {% blocktrans trimmed %}
            A PayPal account is required to use this online payment method. Please keep your account information
            ready to enter in the next step.
        {% endblocktrans %}
        {% blocktrans trimmed %}
            Please click the "Pay with PayPal" button below to start your payment.
        {% endblocktrans %}
    {% else %}
        {% blocktrans trimmed %}
            After you clicked continue, we will be able to select how you want to pay and to fill in your payment
            details. You will then be redirected back here to review and confirm your order.
        {% endblocktrans %}
    {% endif %}
</p>

{% if known_issue %}
    <div class="alert alert-info">
        {% blocktrans trimmed %}
            There is currently a known issue with PayPal that causes some payments to fail. If your payment fails,
            please just try again. You can also try with a different payment method, if you prefer.
        {% endblocktrans %}
    </div>
{% endif %}

<input type="hidden" name="payment_paypal_{{ method }}_oid" value="" id="payment_paypal_{{ method }}_oid"/>
<input type="hidden" name="payment_paypal_{{ method }}_payer" value="" id="payment_paypal_{{ method }}_payer"/>
<input type="hidden" name="payment_paypal_{{ method }}_xhr" value="{{ xhr }}" id="payment_paypal_{{ method }}_xhr"/>