update row after sms sent not work

mahmoodee

Member
Hello,
I have created sms gateway file like kapow and smssza to send sms from my country sms gateway , and it work fine .
kapow and smssza use Sms::doRequest('GET', $url, ''); to send sms .
I have used list email plugin to send sms .
I am using update rows setting to update a field after sms sent .
but the field value update not work If I am using sms gateways like kapow or smssza .
It only work If using twilio
Is the problem caused by using GET method? why twilio update field but the other not update the field ?
thank you
 
Obviously the gateways don't return TRUE in these cases. Are the SMS arriving correctly? There should be some error handling like in twilio.php
libraries\fabrik\fabrik\Helpers\sms_gateways\kapow.php etc.
 
Try to dump/var_dump the responses and to return TRUE in case of success.

You can also create your own gateway by just copying an existing one, make modifications for testing and select it in the email plugin settings.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top