I want to add a new functionality to magento when a particular order is succeeded. I am wondering is there any common function where all the payment gateways reaches before destroying the order session information so I can pick the new order information like customer, credit card etc for the new functionality and then redirect to the success page.