Home  >  Q&A  >  body text

javascript - WeChat payment problem

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?

三叔三叔2674 days ago1099

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-06-24 09:46:04

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

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-24 09:46:04

    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

    reply
    0
  • Cancelreply