mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Stripe checkout: Fixed retry order
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
|
||||
<form method="post" class="form-horizontal" href="">
|
||||
<form method="post" class="form-horizontal" href="" data-total="{{ order.total|floatformat:2 }}">
|
||||
{% csrf_token %}
|
||||
<div class="form-horizontal payment-redo-form">
|
||||
{{ form }}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{% csrf_token %}
|
||||
<div class="panel-group" id="payment_accordion">
|
||||
{% for p in providers %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel panel-default" data-total="{{ p.total|floatformat:2 }}">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<label class="radio">
|
||||
|
||||
@@ -273,6 +273,7 @@ class OrderPayChangeMethod(EventViewMixin, OrderDetailMixin, TemplateView):
|
||||
'fee': fee,
|
||||
'fee_diff': fee - self.order.payment_fee,
|
||||
'fee_diff_abs': abs(fee - self.order.payment_fee),
|
||||
'total': abs(self._total_order_value + fee),
|
||||
'form': provider.payment_form_render(self.request)
|
||||
})
|
||||
return providers
|
||||
|
||||
Reference in New Issue
Block a user