How to make Alipay payment with WeChat? ? ?

WBOY
Release: 2016-08-04 09:21:14
Original
1537 people have browsed it

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

Reply content:

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

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
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!