If I set a confirmation mail based on a template in webshop settings, how do I get the current order when I want to populate it.
Usualy I get the current order with the following snippet
Order o = WAFShopHelper.GetCurrentOrder(Request, Response);
However this returns null when the code reach the state of sending a confirmation mail
Thx in advance