Hello All,
I'm building a custom module that is hooked into hookdisplayOrderConfirmation, my goal is to have an api call made when an order is confirmed to trigger the digital activation of a service that I'm providing.
I have the hook registered properly in my module as it shows in the hook but when I process an order it doesn't work, I even changed the code to echo a statement and exit so that I could at least see that it was being processed but even that didn't work. Is there a hook that would better suit what I'm trying to do?
Honestly I think it would be better suited to be hooked into something that confirms that the payment is processed and then flags my api call to be made.