My third-party PC website is connected to WeChat payment. I want to generate a QR code and scan it to pay. Can I do it?

WBOY
Release: 2016-08-23 09:17:41
Original
1472 people have browsed it

I don’t know if this is WeChat payment

Reply content:

I don’t know if this is WeChat payment

It should be here https://pay.weixin.qq.com/wik...

Yes, that’s it. You just have to call this interface.

Correct answer on the first floor.
https://pay.weixin.qq.com/wik...
This page has a demo implemented by WeChat. You can download your corresponding language and apply the source code directly. Need to change something in the code. Appid, mch_id and other field values ​​can realize the payment function. When testing, it's best to be on the server. Because after the payment is completed, WeChat official will call the callback address set in your code to notify you of the payment result. If an error is reported, you can check the error based on the return value in the link https://pay.weixin.qq.com/wik...
.

Related labels:
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!