Receive payment notification
The Acquiring Service Providercan integrate the notifyPayment interface to receive payment notifications from Alipay+.
After the Acquiring Service Provider successfully handles the notification request, the Acquiring Service Provider 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 Service Provider 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 Service Provider might receive in the notifyPayment request that is sent by Alipay+.
The payment succeeds. The Acquiring Service Provider needs to verify the values of the paymentRequestId and paymentAmount parameters are consistent with the payment information that is stored at the Acquiring Service Provider side.
The payment fails. The Acquiring Service Provider needs to refer to the paymentResult.resultCode parameter to decide the further processing logic at the Acquiring Service Provider side.
For more information about how to use the notifyPayment interface (such as the field description and format), see notifyPayment.