Jump to content

[HELP Required]Send SMS module


Recommended Posts

  • 2 weeks later...

BUG in Prestashop.

The Originator argument required by tm4B is not send, the default one (t4bm) is sent instead everytimes.

In the file modules/tm4B/tm4b.php in the 4 lines 127, 157, 178, 222 instead of:

        $sms = new Tm4bSms($this->_user, $this->_password, $this->_route); 



Remplace by this line:

        $sms = new Tm4bSms($this->_user, $this->_password, $this->_route, $this->_originator); 



Don't forget to set your SMS sender's phone # in MSISDN format 1XXXXXX (internationnal format minus the + sign at the beginning). http://en.wikipedia.org/wiki/MSISDN

Voilà! It works!

Link to comment
Share on other sites

×
×
  • Create New...