I’ve been looking through the documentation trying to find any information on how i can best code 3rd party integration based on certain activity triggers (new user creation, payment complete for product, etc)
1) When a new user is registered in Magento I want to trigger user creation in a 3rd party application. I have all the code to create the user programatically, just trying to figure out the best location and way to trigger it in Magento. Preferably this would be done without having to hack the core code so it is portable for others to use.
2) When a user logs in triggering the creation of a cookie for a 3rd party application. Again I have the code to generate the cookie, just trying to figure out the best location and way to trigger it in Magento.
3) Lastly, when a product payment is complete triggering a call to a 3rd party web service to automate product fulfillment.