working on order process in plugin