mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-05 16:56:19 +00:00
Add mib_reference assignment in VerifyPaymentView upon successful payment verification
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m8s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m8s
This commit is contained in:
parent
15f885a4cb
commit
a9e1973f4a
@ -228,6 +228,7 @@ class VerifyPaymentView(StaffEditorPermissionMixin, generics.UpdateAPIView):
|
||||
payment.paid = True
|
||||
payment.paid_at = timezone.now()
|
||||
payment.method = "TRANSFER"
|
||||
payment.mib_reference = mib_resp["transaction"]["ref"] or ""
|
||||
payment.save()
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user