diff --git a/billing/views.py b/billing/views.py index 0fb702c..be9f7a7 100644 --- a/billing/views.py +++ b/billing/views.py @@ -387,7 +387,11 @@ class VerifyTopupPaymentAPIView(StaffEditorPermissionMixin, generics.UpdateAPIVi topup_instance.created_at + timedelta(minutes=5) ).strftime("%Y-%m-%d %H:%M"), } + logger.info( + f"Verifying topup payment created at {topup_instance.created_at} with 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()