mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-07 18:26:30 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m13s
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