How does php realize the automatic jump after successful Wechat scanning payment on PC?
This article mainly shows you "php how to achieve automatic jump after successful Wechat sweep payment on PC", which is easy to understand and well-organized. I hope it can help you resolve your doubts. Here, let me lead you to study and learn "php how to achieve automatic jump after successful code sweep payment on Wechat on PC" this article.
The details are as follows
Scenario: Wechat code-scanning payment on PC
Result: payment is successfully automatically transferred.
The idea of realization is:
Pay QR code page, write ajax request payment status, request the result, regardless of success or failure, jump to the corresponding result page
Specific implementation method:
Html section:
Payment result status setting: 0 not paid 1 payment succeeded 2 payment failed