kpedana Posted November 27, 2016 Share Posted November 27, 2016 I currently have products set to use the module Auto Release module, and if I manually click one of the 4 Module Commands my action hooks fire perfectly. However, if I manually add (as an admin) an order, regardless if I price override it to $0 or let it use the real price and then "Add Payment"... none of my action hooks fire. I am trying to use AfterModuleCreate as the hook, and I have the product(s) set to "Automatically setup the product as soon as the first payment is received" so I'm unsure if that's causing the issue or not. So, all of the variables that are available to "AfterModuleCreate", "AfterModuleSuspend", "AfterModuleUnsuspend" and "AfterModuleTerminate" are exactly what I need. What I'm looking to do is insert entries specific to the product in question, to a DB when a product is first "created" (and paid), update entries when a product is "suspended", update entries when a product is "unsuspended" and finally when a product is "terminated". All of them work great when I manually click the module commands, but I figured those same commands were all ran automatically at those points as well except they don't seem to? I hope I don't need to be using Invoice specific hooks, and then having to use other internal API functions to get all of the same info those 4 hooks provide juse to do this. :-/ 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.