{% extends "base.html" %} {% block title %}選擇您的付款方式{% endblock %} {% block content %}
{% for message in messages %}
{{ message }}
{% endfor %}

歡迎光臨迷你小電商

{% if user.socialaccount_set.all.0.extra_data.name %} {{user.socialaccount_set.all.0.extra_data.name}}
{% else %} Welcome: {{ user.username }} {% endif %}

在線付款(訂單編號:{{order.id}})

{% for item in items %} {% if forloop.first %} {% endif %}
{% if forloop.last %}
產品名稱 單價 數量 小計
{{ item.name }} {{ item.price }} {{ item.quantity }} {{ item.subtotal }}
{% endif %} {% empty %} 此訂單是空的 {% endfor %} {{ paypal_form.render }}
{% endblock %}