An invitation in Chinese usually names who pays: 我请你喝咖啡 is both an invitation and a statement that it is on you. 说定了 - "that's settled" - is the closing move and turns a vague plan into a real one, which matters because 什么时候方便 on its own can drift for weeks.