
Apifon SMS and Viber for OpenCart — order notifications, Viber with SMS, phone confirmation code
Apifon SMS and Viber for OpenCart 4.x, 3.x, 2.3 (Greece): the order status to the buyer from the order page; Pro adds automatic texts, Viber with an SMS, a phone confirmation code, a log. A licence for life.
- Compatibility
- OpenCart 4.0.2.0–4.1.x, 3.0.x, 2.3.0.2 · module languages: English, Ελληνικά
- PHP
- 7.0 or newer
- Version
-
v1.0.0 (OpenCart 4)
v1.0.0 (OpenCart 3.x)
v1.0.0 (OpenCart 2.3) - Licence
- a site + a staging copy, lifetime
- Trial
- 7 days, no card, one per site
- Updated
- 15.11.2026
What Free has,
and what Pro adds
The free version works with no time limit. Pro adds the rest of the features in the table.
Key points
What the buyer sees
The buyer gets a short message on the phone number given at the checkout: a thank-you with the order number and total, and then texts when the status changes (“Order #15 shipped”).
What the admin gets
Extensions → Extensions → Modules → Apifon SMS and Viber: the tabs “Connection”, “Order texts”, “Viber, delivery, phone code”, “Log and schedule”, “Licence”.
How much it costs
The base version is free. Pro costs 1,290 UAH, a one-time payment, a licence for life.

The trial starts when you ask
A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy
Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.
Technical requirements
OpenCart 4.0.2.0–4.1.x, 3.0.x or 2.3.0.2; PHP 7.0+ for 2.3, the cURL extension.
An Apifon (Mookee) account with an HMAC token that has the SMS scope, a topped-up balance and an approved SMS sender.
For Viber: a Viber sender on the Apifon account and the Viber scope on the token.
For the delivery status: a shop on https with a valid certificate (Apifon’s requirement for the callback address). On http the module says so in the settings and does not send the address.
If the token lists allowed IPs instead of *, add the address of the shop’s server to it.
The buyer’s phone at the checkout (System → Settings → Option → Telephone).
The shop and buyer numbers are mobile: the module does not accept landline numbers.
On OpenCart 3.x and 2.3 the regular tasks (retry, delivery statuses, quiet hours) run when pages are opened; a server cron on the address from the settings every 5 minutes does it more reliably. OpenCart 4 uses its built-in scheduler.
Version history
For OpenCart 4.x, 3.x and 2.3: connecting Apifon with a token and a key, the balance, the order status to the buyer by a button on the order page, your own text, retry, a test message…
Frequently bought with Apifon SMS and Viber


Greece Couriers — a shipping module for ACS, ELTA, Geniki and Speedex in OpenCart: to the address, to an ACS store / SmartPoint / locker

Cart Discounts (Amount-Based and N+1) for OpenCart

Temu Connector for OpenCart — stock, prices, products and Temu orders
Full module description
Apifon SMS & Viber Notifications for OpenCart 4.x, 3.x and 2.3 connects your Apifon (Mookee) account through the REST API with an HMAC signature: the buyer gets an SMS or Viber about the order, and a manager sends the status with one click from the order page. Greek texts go out as typed, in Unicode, or in capitals without accents when a cheaper SMS is wanted.
What you need. An Apifon account (mookee.apifon.com) with an HMAC API token that has the SMS scope and an approved SMS sender; Viber needs a Viber sender on the account and the Viber scope on the token. Messages are paid to Apifon from your account balance, and the module adds no charge per message. SMS goes to mobile numbers; the module refuses landline numbers.
What the buyer sees
The buyer gets a short message on the phone number given at the checkout: a thank-you with the order number and total, and then texts when the status changes (“Order #15 shipped”). You write the texts, and they can use {order_id}, {firstname}, {lastname}, {total}, {status}, {store}, {store_url} and {comment} (the comment of a status change marked “Notify customer”). A number typed without a country code gets the default code (30 for Greece): 694 123 4567 becomes 306941234567.
In Pro, for cash on delivery orders you can ask the buyer to confirm the phone with a code: after the order Apifon sends a one-time 6-digit code, and the order success page shows a “Confirm your phone number” box. Checkout is not held up: an unconfirmed order is placed as usual and shows “not confirmed” on its page; after the confirmation the order can move to a status you choose, with a note in its history.
What the admin gets
Extensions → Extensions → Modules → Apifon SMS and Viber: the tabs “Connection”, “Order texts”, “Viber, delivery, phone code”, “Log and schedule”, “Licence”. Paste the API token and the API key from Mookee (Developers: Add, type HMAC, the SMS scope and, if needed, Viber) and press “Save and check the connection”: the module shows the balance, the reserved amount and the account’s subscriptions. The token and the key are stored encrypted and are never shown again. The key signs every request and is not sent anywhere.
The order page gets an “Apifon SMS and Viber” panel: all messages of this order with their status (“Sent”, “Delivered”, “Failed”) and the reason for a refusal in plain words, with a “Retry” button next to failed ones. Below it, the status text for the buyer with the order data filled in, a “Send the status” button and a field for a free text with a counter of characters and SMS parts.
The module sends Greek text in Unicode (70 characters a part) or in capitals without accents (160 characters a part, cheaper): you choose the mode on the “Connection” tab. Long texts go in several parts, and the counter in the form shows their number before sending. Viber always shows the text as typed.
In Pro the “Order texts” tab holds a text for a new order and a separate text for every status; an empty field means no message for that status. A new order can send an SMS to several shop numbers at once, and duplicates are not sent. Automatic texts to buyers can be limited to chosen payment and shipping methods. The log of all messages with the filters “Waiting”, “Sent”, “Delivered”, “Failed”, “Not sent” and a CSV export opens in the Sales → SMS and Viber log menu.
The “Viber, delivery, phone code” tab (Pro) sets the channel for buyers: SMS, or Viber with an SMS when Viber does not get through in the time you set. You can add a button under the Viber text, switch on the delivery status of every message, quiet hours for automatic texts to buyers, a separate sender for every store (multistore) and a low balance alert to the shop numbers once a day. The phone confirmation code is set up there as well: the payment methods it applies to, the text with {apifon_otp} and the status after the confirmation.
How it works, step by step
- Install the archive for your OpenCart version and install the module in the “Modules” section.
- In Mookee open Developers → Add, choose HMAC, enable SMS (and Viber for Pro), copy the API Token and, with Reveal, the API Key.
- On the “Connection” tab paste the token and the key, enter the approved sender name and press “Save and check the connection”.
- Make sure OpenCart asks for the buyer’s phone (System → Settings → Option).
- On an order page press “Send the status”: the buyer gets an SMS with the current status.
- In Pro switch on automatic texts: messages on a new order and on every status change, and if needed Viber with an SMS and the phone confirmation code.
- Watch the status of every message in the order and in the log.
Under the hood
- Apifon REST API v1: sms/send, im/send (Viber with an SMS when Viber does not get through), balance, otp/create and otp/verify, a callback with delivery statuses.
- Every request is signed with HMAC-SHA256 by the API key with the date in the header; the key and the token are encrypted and not shown in the settings.
- If Apifon does not answer (503, 429, an 8-second timeout), the message stays in the queue and is retried; placing an order does not wait for Apifon.
- A token, sender, number or balance error is shown next to the message with an explanation. If Viber is refused, the same text goes out as an SMS at once.
- The phone confirmation code is a paid message for every cash on delivery order (and up to 3 repeats), so it is off by default.
- The delivery status comes from Apifon to an address with a key; a wrong key gets 403, and an older report does not undo “delivered”.
- The interface is in English and Greek.
How to install
- OpenCart 4: Extensions → Installer, upload cc_apifon.ocmod.zip without renaming it.
- OpenCart 3.x: Extensions → Installer, upload cc_apifon-oc3.ocmod.zip, then Extensions → Modifications → Refresh.
- OpenCart 2.3: the 2.3 installer copies files only by FTP, so unpack cc_apifon-oc23.ocmod.zip and upload the contents of the upload/ folder to the shop root by hand, then Extensions → Modifications → Refresh.
- Extensions → Modules → Apifon SMS and Viber: install and edit.
- Paste the token and the key, press “Save and check the connection” and send a test message.
- For Pro: paste the key or start the trial on the “Licence” tab.
Questions
about the module
Didn't find the answer? Message us on Telegram and we'll reply within a business day.
Is this an official Apifon module?
No, it is an independent integration through the public API. Apifon and Mookee are trademarks of their owners.
Where do I get the API token and key?
Log in at mookee.apifon.com, open the account name, the Developers section, press Add, choose HMAC and enable SMS (and Viber for Pro). Copy the API Token, then copy the API Key with Reveal.
Is there a charge for messages?
Yes, Apifon deducts the cost from your account balance at the service's rate. The module adds no charge of its own per message.
What is needed for Viber?
A Viber sender on the Apifon account and the Viber scope on the token. If Viber is not available to the buyer or the sender is not approved, the same text goes out as an SMS.
Is the phone confirmation code paid?
Yes, every code is a separate message from your balance, with up to 3 repeats per order. The function belongs to Pro and is off by default.
Does Free work without Pro?
Yes: the connection, the balance, a test message and sending a status or your own text from the order page work in the free version. Automatic texts, Viber, the confirmation code, the delivery status and the log are in Pro.
Which OpenCart versions are supported?
OpenCart 4.0.2.0–4.1.x, 3.0.x and 2.3.0.2: three separate archives in one product.
Is the licence for life?
Yes, for OpenCart it is one payment and a licence for life, for two sites.
What happens after the trial?
Pro switches off, Pro messages waiting in the queue stop with a reason, and the free part keeps working.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
Not quite what you are looking for?
We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.
Order a custom module
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.




















