moengoet Posted October 17, 2019 Share Posted October 17, 2019 Hi, I bought a module but it seems that i and the developer couldn't find a solution through that. This module could send a "notice" through thirdparty programs such as SMS/Telegram/WA or other things. Indeed the problem resides on the WHMCS module itself not the 3rd party program. I researched: For example, an invoice. 1. When an invoice created by admin (operator), might be by using, "generate due invoices", the module started to create a hook. The log shown: =============================== 10/11/2019 09:40 MM_Whatsapp: {"StatusLicenca":"Ativo","NumeroWhatsapp":"123456789","Mensagem":"Hi tester","TipoMsg":"1","resultado":"Send"} admin xxx.xxx.123.123 10/11/2019 09:40 Email Sent to tester (Customer Invoice) - User ID: 1 admin xxx.xxx.123.123 ======================================= 2. But when a cron job do its task, The log shown: 09/15/2019 09:00 MM_Whatsapp: System 09/15/2019 09:00 Email Sent to User1 (Invoice Reminder) - User ID: 3065 System 09/15/2019 09:00 MM_Whatsapp: System 09/15/2019 09:00 Email Sent to User2 (Invoice Reminder) - User ID: 4078 System 09/15/2019 09:00 Automated Task: Starting Invoice & Overdue Reminders System The same problem reside on cron on invoice reminder, overdue notice, etc. regardless that 'manual action' could triggered this module properly (when there is a user and IP logged, I believe). Anyone could suggest, where should I begin my searching? Thank you 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted October 18, 2019 Share Posted October 18, 2019 Probably the developer forgot to "link" his scripts to all the involved hook points. When do you need to send the message on WA? On invoice paid? Creation? What hook point is the script using at the moment? 0 Quote Link to comment Share on other sites More sharing options...
moengoet Posted October 18, 2019 Author Share Posted October 18, 2019 I found this two links useful 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.