Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solution

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 wallet binding on PC platform and the user binds successfully.

Verification process:

  1. The wallet is successfully bound.

Test case 2

Merchant initiates wallet binding on iOS platform. The user has installed the wallet app and the merchant's app binds with the wallet successfully.

Verification process:

  1. The wallet is successfully bound.

Test case 3

Merchant initiates wallet binding on iOS platform. The user has not installed the wallet app and the merchant's app binds with the wallet successfully.

Verification process:

  1. The wallet is successfully bound.

Test case 4

Merchant initiates wallet binding on Android platform. The user has installed the wallet app and the merchant's app binds with the wallet successfully.

Verification process:

  1. The wallet is successfully bound.

Test case 5

Merchant initiates wallet binding on Android platform. The user has not installed the wallet app and the merchant's app binds with the wallet successfully.

Verification process:

  1. The wallet is successfully bound.

Test case 6

Merchant initiates auto debit on any platforms. The user makes a successful payment.

Verification process:

  1. The payment is successful.
  2. The order status is updated to item delivery stage.

Test case 7

Merchant initiates auto debit on any platforms. The user's account balance is insufficient.

Verification process:

  1. The payment is unsuccessful.
  2. The order status is updated to payment termination.

Refund

The following section presents production test cases for refund.

Test case 1

Initiates a refund successfully.

Verification process:

  1. The refund notification is displayed successfully.
  2. 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:

  1. The payment is received from the bank.
  2. 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:

  1. The statement is correct.
  2. The settlement details are correct.
  3. The settlement summary is correct.

More information

Sandbox integration

Go live