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 a payment on PC platform. The user makes a successful payment.

      Verification process:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. 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:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. 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:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. 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:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. 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:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. The user is redirected to the merchant app.


      Test case 6

      Merchant initiates a payment on WAP platform. The user has installed the wallet app and made a successful payment.

      Verification process:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. The user is redirected to the merchant page in the browser.


      Test case 7

      Merchant initiates a payment on WAP platform. The user has not installed the wallet app and made a successful payment.

      Verification process:

      1. The payment result notification is received.
      2. The order status is updated to item delivery stage.
      3. 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:

      1. The payment result notification is received.
      2. The inquiry result is process_fail.
      3. 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:

      1. The payment result notification is received.
      2. The inquiry result is process_fail.
      3. 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:

      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