My checkout process has the following workflow:
- checkout page
- shipping address
- edit shipping address(add/edit)
- delivery method
- payment
- place order
Each of the above steps has its own action in the same controller.
Now the issue is, if the person gets to #5, and wants to edit the address, they go back to #3. But when they hit submit, they go to the next step, #4, but they should go straight back to #5.
I know I can pass information via a query string/form and tell #3 to check for the presence of that key, if its there, then redirect to #5.
Are there any proven, best-practice techniques to manage a workflow like this in asp.net-mvc (or in general)?