handle stocks on sending, refactoring order and payments states