Alipay+Alipay+

Inquire about payment results

The Acquiring Partner can call the inquiryPayment interface to inquire about the payment result.

The following table lists the different results that the Acquiring Partner might receive from Alipay+ when calling the inquiryPayment interface.

paymentResult.resultStatus

paymentResult.resultCode

Actions

S

SUCCESS

The payment succeeds. The Acquiring Partner can proceed with the order as a successful payment.

F

...

The payment fails. The Acquiring Partner needs to take further actions according to the error message returned in the paymentResult.resultCode parameter.

U

...

The payment is still in processing. The Acquiring Partner needs to keep the polling of inquryPayment until the payment result (paymentResult.resultStatus) in the inquriyPayment response is F or S

.

Note:

  • The polling of inquiryPayment must be performed with an interval of 3 seconds in 60 seconds.
  • After 60 seconds, if the value of paymentResult.resultStatus is still U. The Acquiring Partner needs to use the cancelPayment interface to cancel the order.
  • Only after the order is canceled at the Alipay+ side, the Acquiring Partner can mark the payment as failed.

No results received

For more information about how to use the inquiryPayment interface (such as the field description and format), see inquiryPayment.