wxpay
wxpay copied to clipboard
微信支付
Bumps [flask](https://github.com/pallets/flask) from 0.10.1 to 1.0. Release notes *Sourced from [flask's releases](https://github.com/pallets/flask/releases).* > ## 1.0 > The Pallets team is pleased to release Flask 1.0. [Read the announcement on our...
使用鼓励金支付时 ,微信支付成功的通知会携带coupon_fee、coupon_count等可选字段,验证通知时没有考虑这种情况,导致报签名验证失败异常
if trade_type == 'JSAPI' and openid is None: 这一行逻辑有误,如果 trade_type 是 NATIVE openid是None,post_dict['openid'] = openid 这个赋值语句被执行,结果openid传过去的是一个‘None’,微信服务器返回错误 “无效的openid”
增加公众号支付时候,添加OPENID参数