SIT-14070: Display Failed Payment Reason

How to Use This Feature

Feature Summary: Credit Card Payment Processing

Goal: Ensure consistent payment processing across UI, Adyen, and invoice records.

Behavior:

  • When a credit card payment is applied, the following should occur:
  • + The UI displays "Payment Successful" after successful authorization.

    + Invoice detail updates with the payment amount and transaction ID.

    + Invoice summary reflects the new balance.

  • If Adyen declines or does not respond to the payment attempt:
  • + The UI displays "Payment Failed".

    + A toast card is displayed above the modal with a failed message from Adyen, including the refusal reason.

    + No changes are made to the invoice summary.

    + The invoice record will show the transaction as failed.

    Precautionary Measures:

  • If one payment attempt fails, both payments should not be processed to maintain consistency.
  • Additional Information

    Status: QA
    Assigned to: rohit.singh
    🏠 Home View in Jira