forked from CGM_Public/pretix_original
Fixed payment details for unpaid stripe payments
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
This order has been planned to be paid via Stripe, but the payment has not yet been completed.
|
||||
{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
{% if order.status != "p" %}
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{% trans "Charge ID" %}</dt>
|
||||
<dd>{{ payment_info.id }}</dd>
|
||||
@@ -30,6 +31,13 @@
|
||||
<dt>{% trans "Status" %}</dt>
|
||||
<dd>{{ payment_info.status }}</dd>
|
||||
</dl>
|
||||
{% endif %}
|
||||
{% if "message" in payment_info %}
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{% trans "Error message" %}</dt>
|
||||
<dd>{{ payment_info.message }}</dd>
|
||||
</dl>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p>{% blocktrans trimmed %}
|
||||
This order has been planned to be paid via Stripe, but the payment has not yet been completed.
|
||||
|
||||
Reference in New Issue
Block a user