رفتن به محتوای اصلی

FIB Payment Page Enhancements and QA Scenarios


General Description

In this task, several improvements and new features were added to the payment page to make the payment process simpler, faster, and more reliable for users.


Section 1: Changes and Implemented Features

2. Displaying QR Code for payment

  • A QR code was added to the payment page, allowing users to complete payment by scanning it with their banking app.
  • The QR includes transaction and amount details and follows standard payment specifications.

3. Added countdown timer for payment expiration

  • A countdown timer was implemented to show the remaining time for completing a valid payment.
  • When the timer ends, an appropriate message is displayed to the user.
  • This helps prevent invalid or delayed transactions.

Section 2: Test Scenarios

Test: Open payment application link

  • Navigate to the payment page.
  • Check if the app-opening button/link is visible.
  • Click the link.
  • Expected result: The payment application should open .

Test: QR Code functionality

  • Open the payment page.
  • Verify that the QR code is displayed correctly.
  • Scan the QR with a payment scanner app.
  • Expected result: The transaction details and amount should appear correctly in the payment app.

Test: Payment expiration countdown timer

  • Open the payment page.
  • The timer should start from a predefined value (e.g., 10 minutes).
  • Verify that the timer decreases every second.
  • After countdown ends:
    • Expected: A message “Expired” should be displayed.

Test: Page refresh after timer expires

  • Let the timer run until it finishes.
  • Refresh the page.
  • Expected result: Payment status should remain Expired.

Test: Successful payment flow

  • Complete the payment through the payment app.
  • Click the Continue button to proceed with the Book and Issue operation.
  • Expected: Booking should proceed correctly, and the user should be redirected to the Voucher page.

Test: Unsuccessful payment flow (Continue without success)

  • Click Continue without completing a successful payment.
  • Expected: Redirect to the Book page with an alert message indicating the payment was unsuccessful and prompting the user to retry the payment.

Test: Cancel payment flow

  • Click the Cancel button.
  • Expected: You should be redirected to the Book page, where the user can attempt payment again using either the FIB gateway or another available payment option.