Replace order.pre_create event with finite callbacks
Replace payment pre_state_change event