add check logic when create order