Skip to content

Should the GenerateRefundOrder service object be refactored? #56

@DanielWright

Description

@DanielWright

The GeneratePosOrder service object is a dense and complex object. It relies on a lot of things going right to work correctly, and doesn't recover from failures very gracefully. It's also very tightly coupled to how refunds are processed, and thus can be painful to integrate into host apps. Finally, it's murderous to test, and has a high cognitive load. A dedicated refactoring effort would be useful to reducing these pain points.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions