diff --git a/billing/views.py b/billing/views.py index 7c39458..0fb702c 100644 --- a/billing/views.py +++ b/billing/views.py @@ -387,10 +387,10 @@ class VerifyTopupPaymentAPIView(StaffEditorPermissionMixin, generics.UpdateAPIVi topup_instance.created_at + timedelta(minutes=5) ).strftime("%Y-%m-%d %H:%M"), } - print("DATA", data) topup_verification_response = self.verify_transfer_topup(data, topup_instance) - print("TOPUP VERIFICATION RESPONSE", topup_verification_response) if topup_verification_response.success: + user.wallet_balance += topup_instance.amount # type: ignore + user.save() return Response( { "status": topup_verification_response.success,