FIX: number with country code without +
This commit is contained in:
@ -103,7 +103,11 @@ class Customer extends AbstractEndPoint
|
||||
continue;
|
||||
}
|
||||
if (!str_starts_with($value, '+')) {
|
||||
$value = "+56{$value}";
|
||||
if (str_starts_with($value, '56')) {
|
||||
$value = "+{$value}";
|
||||
} else {
|
||||
$value = "+56{$value}";
|
||||
}
|
||||
}
|
||||
$params[$key] = $value;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user