Update: 2026-06-23 18:19:33
This commit is contained in:
@@ -198,7 +198,11 @@ function sendIntaleqOtp(string $receiver, string $otp, string $method = 'whatsap
|
||||
if ($decoded && ($decoded['success'] ?? false)) {
|
||||
return true;
|
||||
}
|
||||
error_log("❌ [Intaleq OTP] API returned failure response: " . $response);
|
||||
$msg = "❌ [Intaleq OTP] API returned failure response: " . $response;
|
||||
error_log($msg);
|
||||
echo $msg; // Temporarily echo the raw error so we can see it in the app logs!
|
||||
} else {
|
||||
echo "❌ [Intaleq OTP] Empty response or cURL failed.";
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user