The complete payment flow is as the following:
When we encounter the network or system exceptions, the merchant will need to cancel the payment. The flow is as the following:
Note:
1. If the system prompt to in the process of cancel, we would suggest to retry with a time interval of 5 seconds or more. If the retry fails more than 5 times, we should abandon the retry and check the network and the system.
The refund flow flow is as the following: