Skip to content

[Cards & POS Services] Refactor routes and services #3669

@sanducb

Description

@sanducb

Context

Created from this comment

Both card-service and point-of-sale services should have most of the logic in the corresponding service.ts, as otherwise, we are coupling the "application layer" with our actual domain code. If made this, say, a GraphQL API, we shouldn't need to change any of the domain logic about how we are handling events and making the payment work.

To do:

  • Move payment event handling from routes to service layer (behavior must remain the same)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions