SMS Gateway Configuration
Adding an SMS gateway to Spotipo is needed if you indent to use Phone number validation or sending payment account details via SMS. This can be done in two ways
Configure Global Settings
These settings are available in Dashboard -> Manage -> SMS settings.
Its applied for all sites unless over written by a site specific configuration
Dont forget to save changes once data is entered.
Site Specific SMS Settings
If you would like to enable SMS for only one site or planning to use a different gateway for a particular site, you can choose to configure site specific settings instead. Its available at Settings -> Extra Config -> SMS Settings in site view.
Remember to enable the settings and save it by pressing Finish.
Setting Default Country Code
By default country code in all Phone fields are set to USA.
To change this, login to your server via SSH and edit the config file available in /usr/share/nginx/spotipo/instance/config.py
Add the following line to the end , replace the country code with one corresponding to the one you want to change.
DEFAULT_PHONE_COUNTRY_ISO = 'ch'
Restart the application to enable the changes.
sudo service supervisor restart