Receive payment notification
The Acquiring Partnercan integrate the notifyPayment interface to receive payment notifications from Alipay+.
After the Acquiring Partner successfully handles the notification request, the Acquiring Partner needs to return a response to Alipay+.
Alipay+ provides a notification retry mechanism if the result.resultCode parameter in the notification response returned from the Acquiring Partner is not
S. For how to handle the notification, check the following things:
- Refer to Handle a notification to find out the common things that you need to do and consider.
- Refer to the table below to deal with the different payment results that the Acquiring Partner might receive in the notifyPayment request that is sent by Alipay+.
The payment succeeds. The Acquiring Partner needs to verify the values of the paymentRequestId and paymentAmount parameters are consistent with the payment information that is stored at the Acquiring Partner side.
The payment fails. The Acquiring Partner needs to refer to the paymentResult.resultCode parameter to decide the further processing logic at the Acquiring Partner side.
For more information about how to use the notifyPayment interface (such as the field description and format), see notifyPayment.