Test cases
Refer to the following sections for details about test cases that are used in production environment. The following sections present production test cases for payment, refund, and settlement services.
#Payment
The following section presents production test cases for payment.
Test case 1
Merchant initiates a payment on PC platform. The user makes a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant page.
Test case 2
Merchant initiates a payment on iOS platform. The user has installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant app.
Test case 3
Merchant initiates a payment on iOS platform. The user has not installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant app.
Test case 4
Merchant initiates a payment on Android platform. The user has installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant app.
Test case 5
Merchant initiates a payment on Android platform. The user has not installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant app.
Test case 6
Merchant initiates a payment on H5 platform. The user has installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant page in the browser.
Test case 7
Merchant initiates a payment on H5 platform. The user has not installed the wallet app and made a successful payment.
Verification process:
- The payment result notification is received.
- The order status is updated to item delivery stage.
- The user is redirected to the merchant page in the browser.
Test case 8
Merchant initiates a payment on PC platform. The user's account balance is insufficient.
Verification process:
- The payment result notification is received.
- The inquiry result is
process_fail. - The order status is updated to termination.
Test case 9
Merchant initiates a payment in the app platform. The user's account balance is insufficient.
Verification process:
- The payment result notification is received.
- The inquiry result is
process_fail. - The order status is updated to termination.
#Refund
The following section presents production test cases for refund.
Test case 1
Initiates a refund successfully.
Verification process:
- The refund notification is displayed successfully.
- The refund is received.
#Settlement
The following section presents production test cases for settlement.
Test case 1
Merchant receives settlement payment after the payment reaches minimum settlement amount and the settlement period.
Verification process:
- The payment is received from the bank.
- The payment amount is as expected.
Test case 2
Merchant can download the statement after the payment reaches minimum settlement amount and the settlement period.
Verification process:
- The statement is correct.
- The settlement details are correct.
- The settlement summary is correct.