Refactor order process frontoffice code to reuse parts of it in return p...

...rocess.