search

Home  >  Q&A  >  body text

javascript - Alipay instant payment problem

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.

怪我咯怪我咯2786 days ago712

reply all(2)I'll reply

  • 阿神

    阿神2017-05-19 10:10:16

    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?

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-19 10:10:16

    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.

    reply
    0
  • Cancelreply