1. Create an order and call the WeChat interface to generate a QR code 2. On the QR code display page, add a timer to check the order status every X seconds 3. After the customer scans the code, you will receive WeChat’s proactive notification, modify the order status according to the notification 4. Step 2, detect that the order is completed, and prompt the customer that the payment is successful
Complete DEMO, asp: WechatASP Other languages are also available on the street
The idea on the 1st floor is correct. Please refer to the online website. The appreciation function in simple articles http://www.jianshu.com/; the appreciation function in useful articles http://www.youyong.top/
1. Create an order and call the WeChat interface to generate a QR code
2. On the QR code display page, add a timer to check the order status every X seconds
3. After the customer scans the code, you will receive WeChat’s proactive notification, modify the order status according to the notification
4. Step 2, detect that the order is completed, and prompt the customer that the payment is successful
Complete DEMO, asp: WechatASP
Other languages are also available on the street
WeChat has detailed API introduction documents, you can take a look. It’s hard to explain in a few words here:
https://pay.weixin.qq.com/wik...
The idea on the 1st floor is correct. Please refer to the online website. The appreciation function in simple articles http://www.jianshu.com/; the appreciation function in useful articles http://www.youyong.top/