Page MenuHomePhabricator

Implement "Cancel Payment" use case
Closed, ResolvedPublic5 Estimated Story Points

Description

The use case should

  • Check if the payment exists (trying to load it from the repository)
  • Check if the payment is cancelable (e.g. not a booked external payment)
  • Change payment object
  • Write changed payment object to database
  • Return success/Failure result (with payment id and possible failure reason)

Implementation details:
add an isCanceled property to the direct debit

Event Timeline

gabriel-wmde set the point value for this task to 5.
gabriel-wmde updated the task description. (Show Details)
AbbanWMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2022-03-21 board.
AbbanWMDE subscribed.