Man sentenced over terror funding