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?
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