Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mohabdelaziz95 committed Mar 13, 2023
1 parent ba96f6f commit 2014a64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/resala.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
'sms_type' => env('GATEWAYSA_SMS_TYPE', 'T'),
'encoding' => env('GATEWAYSA_ENCODING', 'T'),
'sender_id' => env('GATEWAYSA_SENDER_ID'),
'templateid' => env('GATEWAYSA_TEMPLATE_ID'),
],
],

Expand Down
5 changes: 3 additions & 2 deletions src/Drivers/GatewaySA.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ protected function payload(): array
return [
'api_id' => $this->config['api_id'],
'api_password' => $this->config['api_password'],
'sender_id' => $this->config['sender_id'],
'sms_type' => $this->config['sms_type'],
'encoding' => $this->config['encoding'],
'sender_id' => $this->config['sender_id'],
'templateid' => $this->config['templateid'],
'phonenumber' => $this->recipients,
'textmessage' => $this->message,
'v1' => $this->message,
];
}

Expand Down

0 comments on commit 2014a64

Please sign in to comment.