{% extends 'layouts/members.twig' %}

{% block members_content %}

    <div class="membersContentWrap">

        {% include 'includes/elements/intro_block.twig' with {
            intro_title: 'Pay Account Orders',
            intro_content: false,
            class: 'membersIntro',
            use_h1: true
        }%}

                <p>You are about to pay <strong>{{ order_ids|length }}</strong> order{{ order_ids|length > 1 ? 's' : '' }} totalling <strong>{{ total|multi_currency|raw }}</strong>.</p>

                <div class="paymentSection">
                    {# Payment gateway integration will be wired here #}
                    {# This template serves as the payment initiation page #}
                    {# The actual payment form depends on the site's payment gateway (Realex, Judopay, etc.) #}
                    {# Gateway must POST back to the callback URL — GET is not permitted #}
                    {# Payment gateway form will be wired here once gateway is configured #}
                </div>

    </div> <!-- .membersContentWrap -->

{% endblock %}
