We have a web service that is used to check in a customer to our business. Part of the process is for them to select some options which includes upgrades that they will have to pay for later. Unfortunately a design flaw of a third party we work with has it so that their selection is saved before paying... hence if they don't pay we have to undo the change. We have actions in place to undo their choices if they quit before paying however that is not the case if they let their session timeout.
How do we set it up so that the server initiates an action to undo the changes before the session times out? We need a solution that is initiated from the server and not using the browser.