diff --git a/shop/views.py b/shop/views.py index af15816f..cbae2fb7 100644 --- a/shop/views.py +++ b/shop/views.py @@ -382,6 +382,8 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn class CoinifyCallbackView(SingleObjectMixin, View): + model = Order + @method_decorator(csrf_exempt) def dispatch(self, *args, **kwargs): return super(CoinifyCallbackView, self).dispatch(*args, **kwargs)