php - Payment asynchronous callback is successful, page jump problem
为情所困
为情所困 2017-05-27 17:43:58
0
1
846

Alipay scan code payment successfully asynchronously calls back the processing function, and the information needs to be returned to tell Alipay. This resulted in me being unable to process the page jump for successful payment. One method that comes to mind is ajax polling, but I feel that if the user never scans the code or never pays, the polling will continue to send requests, which is not good. Is there a better way to handle this?

为情所困
为情所困

reply all(1)
我想大声告诉你

ajax long polling, websocket

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template