javascript - Alipay instant payment problem
怪我咯
怪我咯 2017-05-19 10:08:16
0
2
611

Calling Alipay instant payment on PC will jump to an Alipay page

The question is, is there a way to avoid jumping to this page, similar to WeChat, and display an Alipay QR code on the page where payment is required.

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (2)
阿神

This is redirected by the backend after submitting the payment amount (form). In this page, the payment results will be polled (it seems to send a request every 3 seconds). If you want to do it in your own website, first the backend The redirect address is wrong. The second thing is how do you poll its payment result interface, or iframe?

    曾经蜡笔没有小新

    WeChat payment is special. WeChat scan code payment can be generated by yourself and placed on different pages. I have used Alipay scan codes to pay on several websites, and they are all generated by jumping to the official Alipay website.

      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!