1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice
  2. If you update to Joomla 3.9.16, you will have to update Fabrik from the latest GitHub version, to fix a bug introduced in Joomla, which makes it impossible to list front end folder locations in backend JForms. This affects things like template selection.
    Dismiss Notice

update row after sms sent not work

Discussion in 'Community' started by mahmoodee, Feb 14, 2020.

  1. mahmoodee

    mahmoodee Member

    Level: Community
    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
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    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.
     
  3. mahmoodee

    mahmoodee Member

    Level: Community
    Yes the SMS arriving correctly but the row not updated
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    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.
     
    mahmoodee likes this.

Share This Page