Fixed payment and ticketoutput enable/disable switches and their

implications
This commit is contained in:
Raphael Michel
2015-06-15 19:28:56 +02:00
parent e3f7e73063
commit 88f1ae6f89
4 changed files with 5 additions and 5 deletions

View File

@@ -174,6 +174,8 @@ class PaymentDetails(EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin,
return redirect(self.get_confirm_url())
else:
return self.get(request, *args, **kwargs)
messages.error(self.request, _("Please select a payment method."))
return self.get(request, *args, **kwargs)
def get_context_data(self, **kwargs):
ctx = super().get_context_data(**kwargs)