mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-22 01:06:19 +00:00
This commit is contained in:
parent
5b4d0e6488
commit
09591bf825
@ -223,6 +223,10 @@ class VerifyPaymentView(StaffEditorPermissionMixin, generics.UpdateAPIView):
|
||||
if not response.json().get("success"):
|
||||
return mib_resp["success"]
|
||||
else:
|
||||
payment.paid = True
|
||||
payment.paid_at = timezone.now()
|
||||
payment.method = "TRANSFER"
|
||||
payment.save()
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user