diff --git a/apps/payment/views.py b/apps/payment/views.py index 6bc3db7b..bb352346 100644 --- a/apps/payment/views.py +++ b/apps/payment/views.py @@ -168,7 +168,7 @@ class PaymentwallCallbackView(View): if (sourcedate.month == 2 and sourcedate.day >= 28) or (sourcedate.day == 31 and result.day <= 30)\ or (sourcedate.month == 1 and sourcedate.day >= 29 and result.day == 28): result = result.replace(day=1, month=result.month + 1) - return result + return result.datetime def get_request_ip(self): x_forwarded_for = self.request.META.get('HTTP_X_FORWARDED_FOR')