TeleMagic Posted August 16, 2013 Share Posted August 16, 2013 I am in the process of writing a server module for A2Billing to provision voip accounts. I want to use one-time product addons to allow customer to apply Top-up to their voip account. I notice in the product Addons setup in WHMCS Admin there is an option to AutoActivate the product, However I see nowhere in the ModuleDevKit where the code it to run on Product Addon Purchase? Can anyone give me any pointers on how to do this? Regards 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted August 16, 2013 Share Posted August 16, 2013 You could do this by using the AddonActivation hook. http://docs.whmcs.com/Hooks:Addons#AddonActivation 0 Quote Link to comment Share on other sites More sharing options...
TeleMagic Posted August 16, 2013 Author Share Posted August 16, 2013 Thats great. Thanks very much. Didnt think to look at hooks. Regards 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.