This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 16:20:48 +02:00
parent 916f1ed59f
commit 018723f27d

View file

@ -308,7 +308,7 @@ class EpayThanksView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureClosedO
if request.GET:
# epay redirects the user back to our accepturl with a long
# and ugly querystring, redirect user to the clean url
return HttpResponseRedirect(reverse_lazy('shop:epay_thanks', kwargs={'pk': self.pk})
return HttpResponseRedirect(reverse('shop:epay_thanks', kwargs={'pk': self.pk}))
else:
return super(EpayThanksView, self).get(
request, *args, **kwargs