Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
Core: F - Sprint 101
-
3
-
Prokopovych
-
R1 2021
Description
Overview: When an account is cancelled through /accounts/:id/cancel API, the account always have Payment status = Cancelled as error. However, it is not a proper status for some cases and may confuse end users, for example when an account for lost item fee is cancelled because item is found and returned we should cancel the account as Cancelled item returned (it was not an error).
1. Scenario:
- Given account cancellation request;
- When cancellationReason property set in cancellation request;
- Then:
- Account.paymentStatus.name = cancellationReason
- AccountAction.typeAction = cancellationReason
2. Scenario:
- Given account cancellation request;
- When cancellationReason property is NOT set in cancellation request;
- Then:
- Account.paymentStatus.name = "Cancelled as error"
- AccountAction.typeAction = "Cancelled as error"
TestRail: Results
Attachments
Issue Links
- blocks
-
CIRC-990 Use fee/fine refund and cancel dedicated API for lost fees refunds
-
- Closed
-