Update: 2026-06-23 18:21:54
This commit is contained in:
@@ -180,9 +180,12 @@ function sendIntaleqOtp(string $receiver, string $otp, string $method = 'whatsap
|
||||
return false;
|
||||
}
|
||||
|
||||
// Normalize receiver to start with +
|
||||
$phoneWithPlus = (strpos($receiver, '+') === 0) ? $receiver : '+' . $receiver;
|
||||
|
||||
$apiUrl = 'https://otp.intaleqapp.com/api/request-otp.php';
|
||||
$payload = [
|
||||
'phone' => $receiver,
|
||||
'phone' => $phoneWithPlus,
|
||||
'app_key' => $appKey,
|
||||
'device_type' => 'android',
|
||||
'method' => $method,
|
||||
|
||||
Reference in New Issue
Block a user