Commit 9d9efe0c4a82e507dada2e6c2afb5ce5f2e27fcc
1 parent
cefb3bfb
Exists in
master
params verify fail maybe better set return_code FAIL, according to
wechat suggestion. URI: https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_7
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -148,7 +148,7 @@ def notify |
148 | 148 | |
149 | 149 | render :xml => {return_code: "SUCCESS"}.to_xml(root: 'xml', dasherize: false) |
150 | 150 | else |
151 | - render :xml => {return_code: "SUCCESS", return_msg: "签名失败"}.to_xml(root: 'xml', dasherize: false) | |
151 | + render :xml => {return_code: "FAIL", return_msg: "签名失败"}.to_xml(root: 'xml', dasherize: false) | |
152 | 152 | end |
153 | 153 | end |
154 | 154 | ``` | ... | ... |