Home >Backend Development >PHP Tutorial >Regarding 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
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.
Set the authorization directory above