This code implements seven as SMS gateway for sending messages via OSPOS.
- An API key from seven - you can create on in your developer dashboard.
- An existing OSPOS installation.
The procedure for installing is very simple. You just need access to the installation path
of OSPOS for replacing /application/libraries/Sms_lib.php
with Sms_lib.php.
- Log in to your OSPOS dashboard.
- Go to
Configuration -> Setup & Conf -> Message
. - Set
SMS-API Username
to any value, as the field is not used. Just make sure it's not empty. - Set
SMS-API Password
to your seven API key. - Set
SMS-API Sender ID
to your sender identifier of choice with a maximum length of 11 alphanumeric or 16 numeric characters. This value gets displayed as the sender in the receivers phone device. Please notice that country specific restrictions may apply, e.g. some countries don't allow setting those at all. - Optionally set
Saved Text Message
to a predefined message template. - The last step is to save your configuration by clicking
Submit
.
See the screenshot for an example configuration.
Feel free to contact us in case you need any assistance.