This commit is contained in:
Raphael Michel
2018-08-14 11:31:41 +02:00
parent 248b94c296
commit f60a99c357
8 changed files with 251 additions and 9 deletions

View File

@@ -35,8 +35,8 @@ from pretix.base.services.invoices import (
)
from pretix.base.services.mail import SendMailException
from pretix.base.services.orders import (
OrderChangeManager, OrderError, approve_order, cancel_order, deny_order, extend_order,
mark_order_expired, mark_order_refunded,
OrderChangeManager, OrderError, approve_order, cancel_order, deny_order,
extend_order, mark_order_expired, mark_order_refunded,
)
from pretix.base.services.tickets import (
get_cachedticket_for_order, get_cachedticket_for_position,

View File

@@ -633,7 +633,7 @@ class ConfirmStep(CartMixin, AsyncAction, TemplateFlowStep):
return eventreverse(self.request.event, 'presale:event.order', kwargs={
'order': order.code,
'secret': order.secret,
})
}) + '?thanks=1'
return eventreverse(self.request.event, 'presale:event.order.pay.complete', kwargs={
'order': order.code,
'secret': order.secret,

View File

@@ -14,9 +14,15 @@
{% if order.status != 'p' %}
<p>
{% trans "Your order has been placed successfully. See below for details." %}<br>
<strong>
{% trans "Please note that we still await your payment to complete the process." %}
</strong>
{% if order.require_approval %}
<strong>
{% trans "Please note that we still await approval by the event organizer before you can pay and complete this order." %}
</strong>
{% else %}
<strong>
{% trans "Please note that we still await your payment to complete the process." %}
</strong>
{% endif %}
</p>
{% elif order.total == 0 %}
<p>{% trans "Your order has been processed successfully! See below for details." %}</p>