From 1df5618df2e93ef910f3c40c6a1f66d91799da4f Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Thu, 13 Mar 2025 18:45:13 +0000 Subject: [PATCH] bug fix in sms service with melipayamak --- hesabixCore/src/Service/SMS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hesabixCore/src/Service/SMS.php b/hesabixCore/src/Service/SMS.php index 2011706..cc503f3 100644 --- a/hesabixCore/src/Service/SMS.php +++ b/hesabixCore/src/Service/SMS.php @@ -38,7 +38,7 @@ class SMS $password = $this->registryMGR->get('sms', 'password'); $api = new MelipayamakApi($username, $password); $sms = $api->sms('soap'); - $response = $sms->sendByBalanceNumber($params, $to, $bodyID); + $response = $sms->sendByBaseNumber($params, $to, $bodyID); $json = json_decode($response); } catch (\Exception $e) { echo $e->getMessage();