Home > Backend Development > PHP Tutorial > WeChat payment is successful but the callback function does not respond

WeChat payment is successful but the callback function does not respond

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-01 15:56:02
Original
3107 people have browsed it

Request from all the masters

The callback address is written like this:

<code>  $input->SetNotify_url("http://adbangbang.com/scanpay_callback");
</code>
Copy after login
Copy after login

The return data attempted to be printed in the controller:
$postdata = file_get_contents("php://input");

<code>$disk = Storage::disk('wxpay');
$contents = $disk->append('wxpay.txt',' ');

但是没有任何数据 </code>
Copy after login
Copy after login

Reply content:

Request from all the masters

The callback address is written like this:

<code>  $input->SetNotify_url("http://adbangbang.com/scanpay_callback");
</code>
Copy after login
Copy after login

The return data attempted to be printed in the controller:
$postdata = file_get_contents("php://input");

<code>$disk = Storage::disk('wxpay');
$contents = $disk->append('wxpay.txt',' ');

但是没有任何数据 </code>
Copy after login
Copy after login

You can log at the entrance first to see if you have received a callback

For others, check out this blog
http://blog.csdn.net/qq_28018...

It has been solved. It is the GET of routing settings... Just use ANY. Thank you

Brother, you use easywechat for WeChat payment

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template