Home > Backend Development > PHP Tutorial > Regarding the callback issue in WeChat scan code payment mode 2

Regarding the callback issue in WeChat scan code payment mode 2

WBOY
Release: 2016-09-08 08:43:53
Original
1072 people have browsed it

Regarding the callback issue in WeChat scan code payment mode 2Regarding the callback issue in WeChat scan code payment mode 2Regarding the callback issue in WeChat scan code payment mode 2

The callback address I set on line 49 doesn’t feel like it’s gone. They all say log. I don’t know where to log. Could you please guide me? Also, when it comes to the callback page, I also want to do something about the database. Operation, how to do it well

Reply content:

Regarding the callback issue in WeChat scan code payment mode 2Regarding the callback issue in WeChat scan code payment mode 2Regarding the callback issue in WeChat scan code payment mode 2

The callback address I set on line 49 doesn’t feel like it has passed. They all say log. I don’t know where to log. Please give me some guidance. Also, when it comes to the callback page, I also want to do something about the database. Operation, how to do it well

Print $input $result to see what errors are returned here, or whether it is successful, and then receive the returned xml data in notify.php file_get_contents('php://input'); and then write the data into a log or txt file, no matter how you operate the database, it is your logic

If your address is sure to be OK, then confirm the WeChat settings.
Regarding the callback issue in WeChat scan code payment mode 2
Set the authorization directory above

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