order payments handling refactoring