Home > Backend Development > PHP Tutorial > WeChat payment callback does not respond

WeChat payment callback does not respond

WBOY
Release: 2016-08-18 09:16:13
Original
1402 people have browsed it

This is the callback directory
WeChat payment callback does not respond
This is the code

WeChat payment callback does not respond
Jump to the home page after successful payment. Then the callback does not respond. Is it a problem with my jump?

WeChat payment callback does not respond
....After going through 10,000 pitfalls, I am about to succeed. Something went wrong with the callback. . Don't know where it is yet. God, please give me a clear path.
If the callback responds, a certain data in the database will be updated. But after the payment was successful, there was no callback and the database did not respond. God, please show me a clear way. God, please show me a clear way. God, please show me a clear way. Important things must be said three times!

Reply content:

This is the callback directory
WeChat payment callback does not respond
This is the code

WeChat payment callback does not respond
Jump to the home page after successful payment. Then the callback does not respond. Is it a problem with my jump?

WeChat payment callback does not respond
....After going through 10,000 pitfalls, I am about to succeed. Something went wrong with the callback. . Don't know where it is yet. God, please give me a clear path.
If the callback responds, a certain data in the database will be updated. But after the payment was successful, there was no callback and the database did not respond. God, please show me a clear way. God, please show me a clear way. God, please show me a clear way. Important things must be said three times!

The callback function in the second picture cannot be sure of success. It depends on the asynchronous notification url you set in the first picture. After the user pays, WeChat will access the asynchronous notification url you set and send some information back to this page. Parameters, if it doesn’t work, it’s because your URL setting is wrong, or there’s a bug in the callback page. Isn’t there a debugging tool? It’s OK to monitor the callback page

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