I am attempting to add a message token to the store owner notification on order. I added the following line to MessageMAnager.cs:
tokens.Add("Order.PayMentMethod", HttpUtility.HtmlEncode(order.PaymentMethod));
and the following lines to order.cs:
/// <summary>
/// Gets or sets the Payment Method of current order
/// </summary>
public string PaymentMethod { get; set; }
The build occurs without error but publishing the changed files within \bin to my website and added the %orders.PaymentMethod% token to the message template, but when the email is sent, the message contains %orders.Paymentmethod and not "PayPal Standard" or "Check".
Any ideas what I am doing wrong?