add model to epaycallbackview

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 17:12:09 +02:00
parent e1b87bf565
commit e98bd530e2

View file

@ -258,6 +258,8 @@ class EpayFormView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUnpaidOrd
class EpayCallbackView(SingleObjectMixin, View):
model = Order
def get(self, request, **kwargs):
callback = EpayCallback.objects.create(
payload=request.GET