That is the same error I am getting. This error occurs with the develop branch of TI.

    11 days later

    Thank you for the updates @sampoyigi !!! Keep up the great work!

    Please provide steps I should take to actually get sms msgs when order status changes. I just updated everything and
    1 - was able to send and actually receive a test sms msg from the template’s “Send test message” button.
    2 - when I change the status of an order using the Kitchen Display, I get a new log entry in the Automation Edit / Task Log tab, but I don’t get an actual txt message. I do get an email.
    3 - when I change the status of an order using Sales / Orders menu, I get the same as the result in #2.

    What needs to be done, actually trigger the send notification or register an event so a text message will be sent?

      roydeanjr What is your default SMS channel? With the new log entry, the code is working as expected, are you sure this has nothing to do with your default SMS channel.

        My default channel on all my installations is Twilio. I am not sure if the issue is with the channel. I assume not because the test message goes out the same channel and it works just fine. That said, looking at the channel’s website (twilio.com), there is no record of trying to send a message to the phone number that is on the order. There is a record on twilio’s website reflecting the test message was sent. It seems that the site is not even sending a message to twilio.

          @sampoyigi Is it possible to show the task log in descending order so I don’t have to scroll down and go to the last page to see the most recent log entry? Or make the table allow for some setup.

          And, is it possible to store the response from the channel?

            The task log ordering issue is related to DataWidget’s incomplete feature…

            And, is it possible to store the response from the channel?

            Possible but I don’t see the point in storing the success response when it already stores the success message and error exception.

              So, if there was success from Twilio, why do I not see the message having been received and tried on Twilio’s website? They have a usage log that should include a record of successful SMS Sent via API. The test message is recorded in the automation log AND in the Twilio usage log. But the real status changes only record in the automation log. Why don’t they show in Twilio?

              Are you understanding clearly that the test message works (meaning there is a success entry in the Automation log AND a record in the Twilio usage log), but the real status changes only show a Success record in the Automation log, never have shown in the Twilio logs.

                roydeanjr Yup I wasn’t reading properly lol.. I’ll have another look and get back to you!

                  Definitely possible! Did not realize that was required. So, is there a table with all the messages that are in queue and when I set it up I will get all of them?

                    roydeanjr Depends, if you had the queue driver set to database then you should see your queued jobs under the ti_jobs or ti_failed_jobs table.

                      I understand. I have modified queue.php to database and set the cron jobs suggested in the docs. I will report what happens when an orders’ status changes.

                      Thanks so much for your insight and willingness to provide this software and for graciously accepting input!

                        Why not developing a Whatsapp interface, is much cheaper per message.

                          6 days later