微信扫码支付成功,但是没有执行回调php

【微信支付】API对应的SDK和调用示例下载的Demo,因为以前没接触过,这个Demo看得我云里雾里。
按照PHP微信支付开发之扫描支付(模式二)后如何回调这位大佬的博客试了一下,也用了javascript去时时监听支付结果,可还是微信扫码支付成功,就一直停留在二维码界面,也没执行回调。
看了一下日志,里面是

[2018-02-05 11:30:15][debug] begin notify
[2018-02-05 11:30:27][debug] begin notify
[2018-02-05 11:30:27][debug] call back:{"appid":"xxxxx","attach":"test","bank_type":"CFT","cash_fee":"1","fee_type":"CNY","is_subscribe":"Y","mch_id":"xxxxx","nonce_str":"xxxxx","openid":"xxxxx-KWUg","out_trade_no":"5a77cfc7ea31e","result_code":"SUCCESS","return_code":"SUCCESS","sign":"xxxxx","time_end":"20180205113026","total_fee":"1","trade_type":"NATIVE","transaction_id":"xxxxx"}
[2018-02-05 11:30:27][debug] query:{"appid":"xxxxx","attach":"test","bank_type":"CFT","cash_fee":"1","fee_type":"CNY","is_subscribe":"Y","mch_id":"xxxxx","nonce_str":"xxxxx","openid":"xxxxx-xxxxx","out_trade_no":"5a77cfc7ea31e","result_code":"SUCCESS","return_code":"SUCCESS","return_msg":"OK","sign":"xxxxx","time_end":"20180205113026","total_fee":"1","trade_state":"SUCCESS","trade_type":"NATIVE","transaction_id":"xxxxx"}

到底哪里出错了呢?谢谢大家。

F12也看了一下,付款后由notpay变成了success
https://img4.mukewang.com/5c8f50d50001605d08000326.jpg

繁星淼淼
浏览 1749回答 6
6回答

子衿沉夜

你的配置异步回调检查一下,再就是打开access log看一下,是否有请求过来

MMTTMM

你是否接收到了post传递过来的信息??

翻翻过去那场雪

调试检查下数据看看请求正常吗

陪伴而非守候

异步回调地址上,写入文件看看,有没有回调成功
打开App,查看更多内容
随时随地看视频慕课网APP