add model to epaycallbackview
This commit is contained in:
parent
e1b87bf565
commit
e98bd530e2
|
@ -258,6 +258,8 @@ class EpayFormView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUnpaidOrd
|
||||||
|
|
||||||
|
|
||||||
class EpayCallbackView(SingleObjectMixin, View):
|
class EpayCallbackView(SingleObjectMixin, View):
|
||||||
|
model = Order
|
||||||
|
|
||||||
def get(self, request, **kwargs):
|
def get(self, request, **kwargs):
|
||||||
callback = EpayCallback.objects.create(
|
callback = EpayCallback.objects.create(
|
||||||
payload=request.GET
|
payload=request.GET
|
||||||
|
|
Loading…
Reference in a new issue