JordanBettridge Posted November 15, 2022 Share Posted November 15, 2022 Hey guys. So I have a hook (add_hook('OrderPaid', 1, 'create_ic_environment'); Inside the function for create_ic_environment I get the orderId from the hook data, then run the internal API to get "$command = 'GetOrders';" This returns a lot of data about the order but nothing about the actual hosting environment, I want to get the server info such as hostname or IP, the host environment username, and if possible the password for the environment. I can see all this in the database but Im not sure how to get it from the API 0 Quote Link to comment Share on other sites More sharing options...
JordanBettridge Posted November 17, 2022 Author Share Posted November 17, 2022 Using hooks I used AfterModuleCreate 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted November 17, 2022 Share Posted November 17, 2022 Hello, you need to read and follow 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.