feat(payment): update payment status to "PAID" upon verification ✨
This commit is contained in:
@@ -189,6 +189,8 @@ class VerifyPaymentView(StaffEditorPermissionMixin, generics.UpdateAPIView):
|
|||||||
has_a_pending_payment=False,
|
has_a_pending_payment=False,
|
||||||
registered=True,
|
registered=True,
|
||||||
)
|
)
|
||||||
|
payment.status = "PAID"
|
||||||
|
payment.save()
|
||||||
# add to omada if its a new device and not an existing device
|
# add to omada if its a new device and not an existing device
|
||||||
device_list = []
|
device_list = []
|
||||||
for device in devices:
|
for device in devices:
|
||||||
|
|||||||
Reference in New Issue
Block a user