Double Processing Issue When Using Send_Order_Notification Function

When I use “send_order_notification” function in fn.cart.php it process twice.



I use like this.


function fn_my_addon_send_order_notification($order_info, $edp_data, $force_notification, $notified, $send_order_notification)
{
fn_print_r("TEST");
}




It process two times and print TEST twice. Where do I make mistake?