javascript - WeChat payment problem
三叔
三叔 2017-06-24 09:44:04
0
2
1070

I have such a need. I don’t know which payment method on WeChat is used to achieve it. I would like to ask:

Existing apps (WeChat payment is already available in the app site) share a piece of payment information on WeChat through H5. The user who receives it will open an order page and click Pay to complete the payment.

Looking at the official documents of WeChat payment, it may be possible to achieve it through official account payment or H5 payment? If it is a public account payment, the user still needs to follow the public account, otherwise he will not be able to get the openid. If it is H5 payment, is it currently difficult to apply successfully?

三叔
三叔

reply all (2)
刘奇

H5 payment can only be made through the WeChat public account (service account), only with corporate qualifications, troublesome

    仅有的幸福

    In WeChat’s official document, aren’t official account payment and H5 payment the same thing? In addition to initiating payment on the H5 page, what other payment methods can you use to pay in the official account?
    In addition, openid does not necessarily have to be obtained by following the official account, it can also be obtained by authorized login.
    Then there is the payment method you mentioned. In fact, the function is no different from ordinary payment. It just receives the corresponding order parameters on the secondary confirmation payment page after the order is submitted, and initiates payment according to the visitor's openid.
    In addition, please note two points, before
    After the WeChat payment is successful, the official account will be followed by default. This function is not available now. You need to choose to follow after payment to have this function.
    WeChat payment has a mechanism to prevent cross-account payments. I don’t know about this function of sharing payment. Will there be such a problem?
    Hope it helps you

      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!