php - How to implement the QR code shared by WeChat and Alipay
欧阳克2017-06-29 10:08:10
0
3
981
A QR code used in some stores can be scanned and paid by WeChat and Alipay. What is the principle? Is the QR code a simple web page? If it is a web page, How can I call two third-party interfaces at the same time?
Please see this:
https://www.zhihu.com/questio...
The QR code is a transit URL
Determine whether WeChat or Alipay is opened and jump to the corresponding website
Can be judged by UA
You can determine whether it was scanned through WeChat or Alipay, and can you call the corresponding interface?