djkickass Posted September 7, 2009 Share Posted September 7, 2009 We are trying to run a hook after order and payment issues done. After this screen Order Confirmation Thank you for your order. You will receive a confirmation email shortly. Your Order Number is: 9155663411 If you have any questions about your order, please open a support ticket from your client area and quote your order number. Click here to go to your Client Area ---------------- we used AfterModuleCreate but it does not worked. is there anything we need more or ? is there something missing? 0 Quote Link to comment Share on other sites More sharing options...
Raindance Posted October 30, 2009 Share Posted October 30, 2009 I too am looking for clarification when the different hooks are called. i need to create a hook that will be called when an order for a particular product is accepted, or when the invoice for a particular product has been paid. I will be calling my own software with the details entered during the order to create the user's account. which should i use? 0 Quote Link to comment Share on other sites More sharing options...
Ashley Posted October 30, 2009 Share Posted October 30, 2009 You should be creating a custom module for that, not using a hook. Take a look here: http://wiki.whmcs.com/Creating_Modules 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted October 30, 2009 Share Posted October 30, 2009 maybe include your script in orderforms/yourtemplate/complete.tpl when you see the confirm screen AfterModuleCreate is already called... 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.