Skip to content

seven-io/opensourcepos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seven logo

seven SMS for Open Source POS

SMS gateway implementation for OSPOS - drop-in replacement for the default Sms_lib.php.

MIT License OSPOS 3.x PHP 7.4+


Features

  • SMS Gateway Replacement - Replaces the bundled Sms_lib.php with a seven-backed implementation
  • Custom Sender ID - Configure via the OSPOS admin
  • Saved Templates - Use OSPOS's built-in Saved Text Message field for predefined messages

Prerequisites

Installation

Replace the OSPOS SMS library with Sms_lib.php from this repo:

cp Sms_lib.php /path/to/ospos/application/libraries/Sms_lib.php

Configuration

  1. Log in to the OSPOS dashboard.
  2. Go to Configuration > Setup & Conf > Message.
  3. Set:
Field Value
SMS-API Username Any non-empty value (unused but required)
SMS-API Password Your seven API key
SMS-API Sender ID Optional. Up to 11 alphanumeric or 16 numeric characters. Country-specific restrictions may apply.
Saved Text Message Optional message template
  1. Click Submit to save.

See configuration.png for an example screenshot.

Support

Need help? Feel free to contact us or open an issue.

License

MIT

About

OSPOS implementation for sending SMS via seven

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages