Activating payment based on sellers actions

Hi so I am trying to figure out how to go about the following. When a seller(user) marks an order as done I want the payment screen to automatically appear for the buyer. I am having trouble figuring out the workflow and the right actions to take to