Make stripe refund call optional, add request parameter to order_control_refund_render

This commit is contained in:
Raphael Michel
2017-07-25 16:11:42 +02:00
parent 70a933edc1
commit 92d4566a54
8 changed files with 87 additions and 13 deletions

View File

@@ -13,13 +13,13 @@
{% endblocktrans %}
</a>
</h1>
<p>{% blocktrans trimmed %}
Do you really want to refund this order? You cannot revert this action.
{% endblocktrans %}</p>
{{ payment|safe }}
<form method="post" href="">
<p>{% blocktrans trimmed %}
Do you really want to refund this order? You cannot revert this action.
{% endblocktrans %}</p>
{{ payment|safe }}
{% csrf_token %}
<input type="hidden" name="status" value="r" />
<div class="row checkout-button-row">