Jump to content

ilhamrizqi

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ilhamrizqi

  1. I developed simple provisioning module for WHMCS. This module worked fine on version 6.2.2. But it raises 'InvalidArgumentException' when the module making a call to localAPI() with 'getclientsproducts' as function name. http://docs.whmcs.com/API:Get_Clients_Products#External_API Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid "{"language":"","fullName":" ","countryName":null}" locale.' in /usr/local/www/sandiloka.com/html/members/vendor/symfony/translation/Symfony/Component/Translation/Translator.php:437 Stack trace: #0 /usr/local/www/sandiloka.com/html/members/vendor/symfony/translation/Symfony/Component/Translation/Translator.php(247): Symfony\Component\Translation\Translator->assertValidLocale(Object(WHMCS\User\Client)) #1 /usr/local/www/sandiloka.com/html/members/vendor/symfony/translation/Symfony/Component/Translation/Translator.php(210): Symfony\Component\Translation\Translator->getCatalogue(Object(WHMCS\User\Client)) #2 /usr/local/www/sandiloka.com/html/members/vendor/illuminate/support/Illuminate/Support/Facades/Facade.php(217): Symfony\Component\Translation\Translator->trans('custom_field.72...', Array, 'dynamicMessages', Object(WHMCS\User\Client)) #3 /usr/local/www/sandiloka.com/html/members/includes/classes/WHMCS/CustomField.php(0): Illuminate\Support\F in /usr/local/www/sandiloka.com/html/members/includes/classes/WHMCS/Terminus.php on line 0 I have reported this issue to WHMCS via ticket. But those guys still cannot address the problem and blame my code. Please check the stack trace, you will see the exceptions raises by their code.
  2. Hi, Slack is a messaging app for team. We have been using Slack since 2014. Slack provide an API that can be used to make a wide range of applications and integration. I’ve found that Slack’s Incoming Webhooks API is very useful. This API enable us to receive incoming messages from external sources to Slack channel or username. It can be useful to receive alerts from WHMCS for such events. So i create this whmcs-hook-slack to receive alert from ‘TicketOpen’ and ‘TicketUserReply’ events. When our customer opens new ticket or reply a ticket, WHMCS send notifications to our slack channel or username. This hooks very helpful to increase response time and resolve time as well. If you interested to use this hook, please check the repo here. I hope it useful for more people. https://github.com/ilhamrizqi/whmcs-hook-slack https://ilhamrizqi.com/2016/01/whmcs-hook-slack-notification/
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated