从【微信支付】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
- 6 回答
- 0 关注
- 1748 浏览
添加回答
举报
0/150
提交
取消