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?
溫故而知新,可以為師矣。 博客:www.ouyangke.com
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?