Using $ci->merchant instead of $this