-
Download the latest version of MoceanAPI module here
-
Go to Setup - Modules/Application
- Search for MoceanAPI and activate the module.
- Installation is now complete and you can access the module via Top Navigation
- Before you can send SMS, you need a
MoceanAPI account
. Register an account here in 5 minutes or less - Navigate to
MoceanAPI module
in dolibarr and specify yourAPI Key
,API Secret
,Sender
(Your business name),Default country
andActive hour to send SMS reminder
. You can find yourAPI Credentials
here
You can send SMS notifications based on specific events that occured in dolibarr.
For eg: Send SMS when an invoice is validated
- Navigate to MoceanAPI app via Top Navigation
- Click on the module you'd like to configure. For eg: Invoice module
- You can then configure the trigger for SMS notification. For eg: Send SMS when Invoice is validated
- Once you're satisfied with all the configurations, you can click on Save SMS Setting at the bottom of the page
- Test the SMS notification by Validating an Invoice.
- SMS sent information will be available in the SMS Outbox
SSH
into your server- Modify your
php.ini
file
nano /etc/php/7.4/apache2/php.ini
- You may need to change the command based on the PHP version your server is using. For eg: if you're using
PHP Version 8.1
your command would be
nano /etc/php/8.1/apache2/php.ini
- Look for date.timezone and set the timezone to your local timezone.
- Save the file and restart your web server
- Navigate to Setup > Modules / Application in Dolibarr and enable the Scheduled Jobs module and click on the gear icon
- Generate a security key to launch the cronjob using a script.
- Copy the command generated by dolibarr and replace the values according to your dolibarr installation
- Copy and paste the modified command into your cronjob entry in your server, in my case it would be
*/5 * * * * /srv/dolibarr-16.0.0/scripts/cron/cron_run_jobs.php 715WIrfV14Blvdv4aQV26VMIrJwR4g2g admin > /srv/dolibarr-16.0.0/documents/cron_run_jobs.php.log
Note: You may need to add /path/to/php
infront of the script to run it successfully, the final code would be:
*/5 * * * * /usr/bin/php /srv/dolibarr-16.0.0/scripts/cron/cron_run_jobs.php 715WIrfV14Blvdv4aQV26VMIrJwR4g2g admin > /srv/dolibarr-16.0.0/documents/cron_run_jobs.php.log
- Navigate to Admin Tools > Scheduled Jobs
- If
Scheduled
is green color, your configuration is correct. If not, please recheck the steps above.
Contact us if you require assistance
- Navigate to
Invoice
module inMoceanAPI
app. - Click on
Add Reminder
- Configure the reminder criteria (when you want to send the reminder). You can personalise your SMS message using
keywords
-
Click on
Save
once you're satisfied with your configuration -
Enable the SMS notification and click on
Save SMS Setting
at the bottom of the page.
Before you can call, you need to set a callback number. This will usually be your number. After you recipient have answered the call, we will forward the call to you and you'll be connected to the call.
- Navigate to
Contact
of your choice - You should see a Button
MoceanAPI - Call
. - Click on it, and we'll connect the call to your recipient.
- Can I get Test Credits ?
You can get 20 FREE credits and credits are valid for 14 days. Subject to approval.
- Can I send international messages?
Yes. We are an international SMS provider. You can send out SMS both locally and internationally based on our price list.
- What is the maximum characters per SMS I can put into the message?
160 characters for a normal text message, 70 characters for a Unicode text message (Arabic, Chinese, and etc)
- Is there a limit to how many numbers I can send at one time?
There is no limit on numbers to be sent in one go.
- What format does my phone number need to be in?
Mobile phone numbers need to be entered in international formatting with the country code and without spaces, plus signs or leading zeros.
- I have multiple phone numbers in my contact, which one will be used to receive SMS ?
We will send SMS to the mobile number
of your contact
Did not find what you're looking for ?
Do raise a support ticket with our Support Team at [email protected].
Do raise a support ticket with our Support Team at [email protected].
Send feedback to our Support Team at [email protected].