forked from CGM_Public/pretix_original
Fix order retry issue
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
<form method="post" class="form-horizontal" href="" data-total="{{ order.total|floatformat:2 }}">
|
<form method="post" class="form-horizontal" href="" data-total="{{ order.total|floatformat:2 }}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
<input type="hidden" name="payment" value="{{ provider.identifier }}">
|
||||||
<div class="form-horizontal payment-redo-form">
|
<div class="form-horizontal payment-redo-form">
|
||||||
{{ form }}
|
{{ form }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ class OrderPaymentStart(EventViewMixin, OrderDetailMixin, TemplateView):
|
|||||||
ctx = super().get_context_data(**kwargs)
|
ctx = super().get_context_data(**kwargs)
|
||||||
ctx['order'] = self.order
|
ctx['order'] = self.order
|
||||||
ctx['form'] = self.form
|
ctx['form'] = self.form
|
||||||
|
ctx['provider'] = self.payment_provider
|
||||||
return ctx
|
return ctx
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
|||||||
Reference in New Issue
Block a user