|
|
|
|
@ -6,6 +6,7 @@ from urllib.parse import urlsplit |
|
|
|
|
|
|
|
|
|
from django.contrib import messages |
|
|
|
|
from django.contrib.auth.decorators import login_required |
|
|
|
|
from django.core.exceptions import DisallowedHost |
|
|
|
|
from django.http import HttpResponse |
|
|
|
|
from django.shortcuts import redirect, get_object_or_404 |
|
|
|
|
from django.views.generic import View, TemplateView |
|
|
|
|
@ -247,4 +248,5 @@ class PaymentwallCallbackView(View): |
|
|
|
|
payment.author_balance.save() |
|
|
|
|
return HttpResponse('OK') |
|
|
|
|
else: |
|
|
|
|
raise DisallowedHost |
|
|
|
|
return HttpResponse(status=403) |
|
|
|
|
|