Panduan Awal

Panduan lengkap untuk kamu yang baru mulai menggunakan Layanan Kami.

[GUIDE] WHMCS WhatsApp Notification Module

  • RahmatSN
  • 18 April 2021
  • 736 views

WhatsApp Notification Module for WHMCS is a module that was created and developed to add functions in providing notifications in the form of information to whatsapp customers and administrators on the WHMCS system.

New Updates NEW :

  • Hosting Account Information
  • Reseller Account Information
  • Dedicated/VPS Account Information
  • Upcoming Domain Renewal Notice
  • Domain Expired Notice
  • Domain Renewal Confirmation
  • Ticket Opened Admin

The following are some of the message features that are in this module, including the following :

  • Welcome Message
  • Alert Notification
  • Birthday Messages
  • Reset Password
  • Invoice Notification (with PDF file!)
  • Payment Reminder
  • Due Date Notifications
  • Payment Confirmation (with PDF file!)
  • Service Activation
  • Service Suspension
  • Service Reactivation
  • Service Termination
  • Tickets Opened
  • Ticket Answered
  • Closed Ticket

For those of you who have made a purchase for the notification module for whmcs, you will get the whatsapp gateway and the module for whmcs itself.

The following features on the whatsapp gateway used in this module:

  • Login, Restart, Logout System
  • History Message List
  • Send Direct Messages
  • Settings for user login and token api
  • API Available to integrate with IDEVWA - WHMCS Notification Module

Requirements WhatsApp gateway :

  • VPS / Dedicated Server / Home Server.
    This application requires a host in the form of a computer, VPS, or a dedicated server. Can run on Linux or Windows operating systems.
  • WhatsApp Number.
    It is recommended to use a secondary number, not a primary number. Make sure the number has been used before or is not a new number. This is to avoid being suspended from WhatsApp.
  • Database.
    This application stores data in a MySQL database. You can install MySQL natively or portably via the existing bundle stack.

How to run WhatsApp Gateway:

  1. Make sure your computer / server connected to Internet.
  2. Create mysql database.
  3. Setting configuration file on config.yaml (just adjust the following settings, ignore the others)
    app:
       timezone: Asia/Jakarta #adjust to  your timezone
    database:

       user: root #change root to your mysql user
       password: password #change password to your mysql password
       port: 3306

    server:
       cors_origin: http://yourdomain, http://127.0.0.1
       rest_api_url: http://yourdomain:8080/api/
       socket_server_url: http://yourdomain:8080/api/

       url: :8080
    # change yourdomain to your actual domain for WA Gateway Server
    # dont change http to https
    # now save it
  4. After save config.yaml, then add executable permission to kirimwa file
    sudo chmod +x kirimwa
  5. And then run install.sh using command:
    sudo bash install.sh
  6. Now, you can run the WA Gateway service:
    sudo systemctl start kirimwa.service
    sudo systemctl status kirimwa.service
  7. If the service run successfully, open http://yourdomain:8080/ on your browser.
  8. Log in using user: admin and password: 123456789
  9. You will see Rest Api URL and Token on Dashboard which will be used to connect to the whmcs module.
  10. Scan your WhatsApp QR Code
  11. Done

How to install and setting the WHMCS WhatsApp Notification Module:

  1. Extract into path_to_whmcs/modules/addons/
  2. Login to WHMCS Dashboard Admin
  3. Activate module on Addon Modules menu
  4. Configure user permission
  5. Go to System Settings menu and set the following settings.
    • Signature to be sent : Fill in with your business signature
    • Admin WA Number : Fill admin whatsapp number with country code (ex: 6285314446664)
    • Message Log Retention : Fill with 0
    • Source for Date of Birth : Ignore it
    • Sending Method : Select Standard WHMCS field [ Phone ]
    • Customize WA Origin Number : Ignore it
    • Delay for sending messages : Ignore it
    • WADB Server URL : your Rest Api URL with the port (see on whatsapp gateway dashboard)
    • WADB Token : Fill with Token (see on whatsapp gateway dashboard)
    • License Key : Fill with your license key (see on billing.idtechdev.com)
    • Registered License Email : your email address
  6. Setting your database config on path_to_whmcs/modules/addons/idevwa_whatsapp/idevwa_crons/config.php (this is configuration to connect to your whmcs database, not whatsapp gateway database)
  7. Setting cronjob /usr/bin/curl --silent https://yourwhmcsdomain.com/path_to_whmcs/modules/addons/idevwa_whatsapp/idevwa_crons/cron.php >/dev/null 2>&1 for every 2 minutes
  8. Done

* If you encounter any problems, don't hesitate to contact us :)

Kembali

Thank You

Terima kasih telah menggunakan layanan kami.