Jump to content

Zain Ul Abidin

Retired Forum Member
  • Posts

    2
  • Joined

  • Last visited

About Zain Ul Abidin

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Zain Ul Abidin's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi, I have the same issue , I have resolved it with the following steps. I have downloaded a sample addon module code from https://github.com/WHMCS/sample-addon-module Then i go to WHMCS FTP > addons > modules > make a new folder with the name zain_addon_module. (Please note that module name only contains letters or numbers with underscores). I have copied the folders named lang, lib, templates and files hooks,php, whmcs.json, and addon_module.php (i have rename this file to zain_addon_module.php which is the name of my module.) In zain_addon_module.php file i have called AdminDispatcher and ClientDispatcher file as use WHMCS\Module\Addon\ZainAddonModule\Admin\AdminDispatcher; use WHMCS\Module\Addon\ZainAddonModule\Client\ClientDispatcher; Please note that every starting letter of module name is capital and without any underscore. Then i go to lib > Admin > AdminDispatcher.php file and update namespace as namespace WHMCS\Module\Addon\ZainAddonModule\Admin; Then i go to lib > Admin > Controller.php file and update namespace as namespace WHMCS\Module\Addon\ZainAddonModule\Admin; please note that ZainAddonModule is my module name without underscores. You can do the same thing for ClientDispatcher files also. That's it an issue resolved!! thanks
  2. Hi Developers, I want a little assistance with WHMCS customization, I want to trigger WHMCS's invoice pay now button click, when I will click on some other button, the purpose is just to reduce the get payment done process. Basically we have WordPress plugin that allow clients to place the WHMCS order through WordPress, upon checkout, plugin redirects client to WHMCS invoice and from there clients click "pay now" button then they will redirect to specific payment gateway for payment process. I want that when client clicks checkout button on WordPress then click on WHMCS invoice's pay now button trigger automatically, Is there any way to do so? if yes then please recommend me, your help would be much appreciated in this regard. thanks
×
×
  • 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