feat(payment): update payment status to "PAID" upon verification
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m13s

This commit is contained in:
2025-07-06 22:53:02 +05:00
parent cdfa2d9192
commit c17e34a592

View File

@ -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: