bellafronte Posted February 16, 2016 Share Posted February 16, 2016 Folks, I'm development a payment gateway with subscription support that need call periodically the API system to charge the invoices. I have the idea to use a After Cron Job Hook, http://docs.whmcs.com/Hooks:AfterCronJob My question is, the gateway module can make advance with hooks simple create a file named "hooks.php" within the module folder? Best! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted February 16, 2016 Share Posted February 16, 2016 Gateway module doesn't include hooks.php file, it will not be loaded by WHMCS, instead you can place your actionhook file inside /includes/hooks/ folder 0 Quote Link to comment Share on other sites More sharing options...
bellafronte Posted February 16, 2016 Author Share Posted February 16, 2016 Gateway module doesn't include hooks.php file, it will not be loaded by WHMCS, instead you can place your actionhook file inside /includes/hooks/ folder Good Idea! thanks @sentq 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.