Skip to content

Display Refund Reason on Receipt #356

@SarahSync

Description

@SarahSync

User Story

As a Noblocks user viewing a refunded transaction,
I want to see the reason for the refund directly on my receipt,
So that I don't have to contact support to find out what went wrong with my order.

Acceptance Criteria

  1. Visibility on Refunded Transactions
    GIVEN a transaction has the status "refunded"
    WHEN the user opens the transaction details/receipt
    THEN a new row labeled "Refund Reason" must be visible And it must display the reason fetched from the database.

  2. Hidden on Non-Refunded Transactions
    GIVEN a transaction has a status of "pending," "settled," or "failed" (not refunded)
    WHEN the user opens the transaction receipt
    THEN the "Refund Reason" row must NOT be visible in the UI.

Tech Details

Notes/Assumptions

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions