From c17e34a592fe46ab721cc9b9b4d5796d8113c6f1 Mon Sep 17 00:00:00 2001 From: i701 Date: Sun, 6 Jul 2025 22:53:02 +0500 Subject: [PATCH] =?UTF-8?q?feat(payment):=20update=20payment=20status=20to?= =?UTF-8?q?=20"PAID"=20upon=20verification=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- billing/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/billing/views.py b/billing/views.py index bfa3c58..cfa0018 100644 --- a/billing/views.py +++ b/billing/views.py @@ -189,6 +189,8 @@ class VerifyPaymentView(StaffEditorPermissionMixin, generics.UpdateAPIView): has_a_pending_payment=False, registered=True, ) + payment.status = "PAID" + payment.save() # add to omada if its a new device and not an existing device device_list = [] for device in devices: