search

Home  >  Q&A  >  body text

php - How does a third-party APP integrate H5 WeChat and Alipay?

The code used in the backend here is PHP;

The approximate effect we want to achieve is this. This is a web page, and we hope to integrate the H5 version of Alipay and WeChat Pay in our APP.

< /p>

Question:

  1. Have you not seen the document in the WeChat backend that a third-party APP uses H5 to jump to WeChat and pay?

  2. If you have relevant code, please provide a link, for example: github

伊谢尔伦伊谢尔伦2741 days ago720

reply all(9)I'll reply

  • 某草草

    某草草2017-05-16 13:02:12

    APP Alipay: https://github.com/shanghegua...
    APP WeChat: https://github.com/shanghegua...

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:02:12

    The function of WeChat payment. If you don’t look for the documentation of WeChat payment, why should you look for the documentation of WeChat...

    WeChat Pay - APP Payment

    reply
    0
  • 迷茫

    迷茫2017-05-16 13:02:12

    Payment can’t be explained in a few words. If you don’t clarify the process, you won’t be able to understand it even if I give you a demo. Let’s read the documentation first. Although the WeChat documentation is terrible, it is recommended to read Alipay’s documentation first. It’s easy to get started. There were a lot of pitfalls in the payment area at the beginning.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-16 13:02:12

    https://www.pingxx.com/

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 13:02:12

    Alipay can invoke Alipay’s APP payment with H5. Add the parameter app_pay = Y
    WeChat requires SDK and cannot invoke it on the webpage

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 13:02:12

    The basic logic is the same, place an order in a unified manner, the app initiates payment, the payment is successful and data is returned to the callback, the order is processed, and the order status is modified

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:02:12

    h5 WeChat payment requires js to be triggered in WeChat browser

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:02:12

    Although what you need is H5 payment, you can refer to my previous article on playing with APP payment. The content is similar.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-16 13:02:12

    &z%&zz

    reply
    0
  • Cancelreply