i am using 3rd part Payment Method, so user is redirected to payment gateway after Placing order. After user Place payment he is redirected back to Magento successful page.
Problem here is that order email is sent before Payment is placed. How can i change, that order email is sent after/when successful page is loaded. I was looking through events but i couldn't find anything
Is there any solution for this? Maybe to change event when sending order email in core files?
Thanks for help!