javascript - How to call the WeChat payment interface on the PC website
天蓬老师
天蓬老师 2017-07-05 10:58:18
0
3
1102

After clicking WeChat Pay, do you generate a QR code for others to scan? Does anyone have any suggestions?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all (3)
女神的闺蜜爱上我

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...

      phpcn_u1582

      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/

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!