Project

General

Profile

Actions

BUG #1761

open

[SQA] Data Loss and Incorrect Field Display When Switching Between Tabs in Payment Section

Added by Md. Abdul Hamid about 1 year ago. Updated about 1 year ago.

Status:
Complete
Priority:
High
Category:
-
Target version:
Start date:
01/22/2025
Due date:
% Done:

0%

Estimated time:

Description

When switching between the "Payment Info" and "Saved Payment" tabs in the payment section, the selected payment method reverts to "Bank" by default upon returning to the "Payment Info" tab, but the input fields displayed correspond to the previously selected payment method (e.g., PayPal or Other). Additionally, any unsaved data entered in the fields is lost during the tab switch.

Steps to Reproduce:


  1. Open the "Payment Info" tab in the payment section.
  2. Select "PayPal" or "Other" from the "Select Payment Method" dropdown.
  3. Enter valid data in the respective input fields.
  4. Switch to the "Saved Payment" tab.
  5. Switch back to the "Payment Info" tab.

Expected Behavior:


  • The selected payment method (e.g., PayPal or Other) should remain the same when returning to the "Payment Info" tab.
  • The input fields displayed should match the selected payment method.
  • Any unsaved data entered in the input fields should remain intact.

Actual Behavior:


  • The payment method defaults to "Bank" in the dropdown.
  • The input fields displayed correspond to the previously selected payment method (e.g., PayPal or Other).
  • All unsaved data entered in the fields is lost.
Actions

Also available in: Atom PDF