Maison  >  Article  >  développement back-end  >  微信支付模式二notify_url确定能收到通知吗?我已经搞了两天了。。。。

微信支付模式二notify_url确定能收到通知吗?我已经搞了两天了。。。。

WBOY
WBOYoriginal
2016-08-25 10:37:111142parcourir

http://www.yimifa.com/pay-not...
这是我notify_url的地址

回复内容:

http://www.yimifa.com/pay-not...
这是我notify_url的地址

这个通知不是你想象中的那种参数通知它推送过来的是一个文件流xml格式的,可以从request里面直接读取出来

你的发送支付请求的代码和回调页的代码贴上来吧. 以及你的运行环境都交代一下, 这样大家才能帮到你.. 这样根本看不出问题.

请问你的错误提示是什么
可以参考开源示例代码github-微信支付https://github.com/dcloudio/H...
具体参数
$result = array(

<code> 'appid' => $appid,
 'noncestr'=>$parameters['nonce_str'],
 'package'=>'Sign=WXPay',
 'partnerid'=>$mch_id,
 'prepayid'=>$prepay_id,
 'timestamp'=> time(),</code>

);
// 重新签名
$result['sign'] = $this->getSign($result, $key);

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn