Home > Backend Development > PHP Tutorial > How to write an interface in php for WeChat scan code payment on iOS under the yii2 framework

How to write an interface in php for WeChat scan code payment on iOS under the yii2 framework

WBOY
Release: 2016-08-18 09:16:33
Original
1285 people have browsed it

A QR code will be given directly on the app. Scan this QR code to complete the payment. Because I have never made a payment before, I hope someone can give me some guidance. It would be better to have a reference case. Thank you very much

Reply content:

A QR code will be given directly on the app. Scan this QR code to complete the payment. Because I have never made a payment before, I hope someone can give me some guidance. It would be better to have a reference case. Thank you very much

Save the connection in the QR code and submit it to your backend as soon as you scan it on your phone. Then after your backend processing is completed, just return the json data

I think you should refer to the official documentation and follow the interface rules step by step. Refer to the documentation

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