Refactoring order confirmation