softon / sms

Simple SMS Gateway Package for sending short text messages from your Application. Facade for Laravel 5(Updated to work with Laravel 5.5).Currently supported Gateways Clickatell, MVaayoo, Gupshup, SmsAchariya, SmsCountry, SmsLane, Nexmo, Mocker / Any HTTP/s based Gateways are supported by Custom Gateway. Log gateway can be used for testing.
http://softon.github.io/sms/
MIT License
45 stars 27 forks source link

Response not implemented #2

Closed tiipiik closed 8 years ago

tiipiik commented 8 years ago

When using Clickatell and the response method:

Sms::send(['87686655455','1212121212','2323232323'],'sms.test',['param1'=>'Name 1'])->response(); 

I got an error Reponse method not implemented.

softon commented 8 years ago

That is because you have not selected the appropriate gateway in the config file. By default it saves to the log file hence there is no response() method for the LogGateway.

Just change the line 15 in the config file sms.php

'gateway' => 'Clickatell',