How to make Alipay payment with WeChat? ? ? I heard that WeChat does not support it, and now customers must pay with Alipay on WeChat. Please give me some ideas
How to make Alipay payment with WeChat? ? ? I heard that WeChat does not support it, and now customers must pay with Alipay on WeChat. Please give me some ideas
The author tried not opening the Alipay payment page directly in WeChat, but using an iframe to open it. I used an iframe to open it in WeChat once before, but I don’t know if it still works now
When you need to use Alipay to pay in WeChat,
give the user a prompt:
"Please click on the upper right corner - open with a browser, and then choose Alipay to pay"
Because WeChat restricts Alipay's jump, you can only open the payment with a browser
Use the user-agent in the http header to determine whether the current environment is in WeChat in the web page, pop up the mask layer as needed, guide the user to open the web page with a browser, and then call the Alipay interface.
If the user jumps to the Alipay interface in WeChat without prompting, WeChat will ask the user to copy a string of URLs, which is very embarrassing and the experience is so poor that most people will give up paying
Alipay cannot be used in WeChat. Even if you copy the URL and open it with a normal browser, the website will ask you to log in again. The user experience is too poor, no way
Can’t do it, WeChat and Alipay are hostile
WeChat does not support calling Alipay and opening Alipay links. The method on the first floor is the correct solution. The experience is slightly worse, but it can be used.
If you can’t sit here, maybe you can ask your customer to find Tencent to open a special interface for him