SIT-14070: Display Failed Payment Reason

How to Use This Feature

Feature Summary: Credit Card Payment Processing

Behavior:

  • When a credit card payment is applied, the UI displays "Payment Successful", but no activity is recorded in Adyen or invoice details.
  • If the transaction fails (e.g. due to declined payment), the UI should display "Payment Failed" and show the failed reason from Adyen in a toast card above the modal.
  • Expected Behavior:

  • The invoice detail updates with the payment amount and transaction ID when a successful credit card payment is applied.
  • The invoice summary reflects the new balance after a successful credit card payment.
  • If one payment method fails, the other payment methods should not be processed to ensure consistency.
  • A failed payment should be recorded in Adyen and displayed on the invoice.
  • Goals:

  • Display payment failed message above modal
  • Keep modal open
  • Display payment attempt failed reason from Adyen
  • Ensure split payment follows same functionality as single payment
  • Additional Information

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