{% extends 'django_omise/base.html' %} {% load i18n %} {% load static %} {% block head_title %}{% trans 'Promptpay Checkout' %}{% endblock %} {% block content %}
{% with omise_source=charge.source.get_omise_object %} {% if omise_source.charge_status == 'pending' %}

{% trans 'Complete the payment with the QR code below.' %}

Promptpay QR Code

{% trans 'Total' %}: {{ charge.human_amount }} {{ charge.currency }}

{% elif omise_source.charge_status == 'successful' %}

{% trans 'Payment completed' %}

{% elif omise_source.charge_status == 'failed' %}

{% trans 'Payment failed' %}

{% endif %} {% endwith %}
{% endblock %}