search

Home  >  Q&A  >  body text

Questions about payment within WeChat

Due to business needs, use the iframe tag to load the WeChat payment page in the game page. Originally, WeChat payment can be called up on an ordinary browser. If you open the WeChat payment page directly and do not load Dehua on the game page, you can load Dehua on WeChat. The browser can also activate payment, but if you enter the game in WeChat, you cannot activate WeChat payment~~~ Depressed, depressed. Has anyone encountered the same problem? How did you solve it?

HUIHUI2293 days ago1514

reply all(2)I'll reply

  • HUI

    HUI2018-09-14 16:11:28

    Let’s simplify the problem first. Because of business needs, this mobile webpage uses the iframe tag. All payment pages are in this tag. If you open the website payment in WeChat, you cannot call it out. This is because the payment page is in the iframe. Tag, I would like to ask if there is a better way to replace the iframe tag. I have used ajax, but when the payment page jumps, it jumps together with the main page

    reply
    0
  • HUI

    Solved. Originally, the manager wanted to use iframe to adjust the payment of the web version on WeChat, but found that it still didn’t work. After that, he still used jsapi to pay.

    HUI · 2018-11-06 16:10:14
  • Cancelreply