cosmin Posted March 9, 2018 Share Posted March 9, 2018 I need a hook to remove invoice generated with 0.00 (for example a domain extensions has free registrar transfer). The hook must do: 1. Delete the invoice with 0.00 generated 2. Prevent sending email with invoice 3. Change the number for next invoice (practically current number - 1/number of deleted invoice must be next). Thank you! 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted March 9, 2018 Share Posted March 9, 2018 If you still need help please contact us here for custom WHMCS Development 0 Quote Link to comment Share on other sites More sharing options...
WGS Posted March 9, 2018 Share Posted March 9, 2018 Hi, We can create the addon hook module for you which activate / deactivate anytime. Please contact us here for custom development. 0 Quote Link to comment Share on other sites More sharing options...
edvancombr Posted March 9, 2018 Share Posted March 9, 2018 8 hours ago, cosmin said: I need a hook to remove invoice generated with 0.00 (for example a domain extensions has free registrar transfer). The hook must do: 1. Delete the invoice with 0.00 generated 2. Prevent sending email with invoice 3. Change the number for next invoice (practically current number - 1/number of deleted invoice must be next). Thank you! http://www.whmcsjet.com/how-to-disable-invoice-generation-for-0-00-invoices/ https://www.whmcs.blog.br/principal/desabilitando-faturas-com-valor-000/ 0 Quote Link to comment Share on other sites More sharing options...
cosmin Posted March 13, 2018 Author Share Posted March 13, 2018 I will try. Thank you very much! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 13, 2018 Share Posted March 13, 2018 it's probably worth adding that @edvancombr suggestions would only prevent the invoice email from being sent to the client - the invoice would still be created... so it only resolves step 2 of your needs... steps 1&3 won't be solved by this. 0 Quote Link to comment Share on other sites More sharing options...
edvancombr Posted March 13, 2018 Share Posted March 13, 2018 3 hours ago, brian! said: it's probably worth adding that @edvancombr suggestions would only prevent the invoice email from being sent to the client - the invoice would still be created... so it only resolves step 2 of your needs... steps 1&3 won't be solved by this. Need number 1 is easy to solve, I can not see a solution right now. 0 Quote Link to comment Share on other sites More sharing options...
tcsmith Posted February 23, 2021 Share Posted February 23, 2021 On 3/9/2018 at 8:52 AM, edvancombr said: http://www.whmcsjet.com/how-to-disable-invoice-generation-for-0-00-invoices/ https://www.whmcs.blog.br/principal/desabilitando-faturas-com-valor-000/ Old thread, I know.... but has anyone updated the above hooks to work with WHMCS v8.x? The whmcsjet hook to disable 0.00 invoices stopped working after upgrading to WHMCS v8.x. 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.