Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify_notify验证失败 #12

Closed
JoshYuJump opened this issue May 28, 2015 · 1 comment
Closed

verify_notify验证失败 #12

JoshYuJump opened this issue May 28, 2015 · 1 comment

Comments

@JoshYuJump
Copy link

alipay.verify_notify(**request.args) failed

对比过示例的pyramid的 request.params

pyramid的request.params是
NestedMultiDict([(u'a', u'111'), (u'b', u'cccc')])

flask的
MultiDict([('a', u'111'), ('b', u'cccc')])

看起来区别好像是 key 一个为 unicode,另一个不是
values 两者都是unicode

您上次让我检查 values 是不是utf-8 编码,那示例应该是能够成功的吧,示例的pyramid也是unicode的

@lxneng
Copy link
Owner

lxneng commented Jun 6, 2015

那可能是其他问题, 手动 Debug 试试看看什么问题, 代码在
https://github.com/lxneng/alipay/blob/master/src/alipay/__init__.py#L134

@lxneng lxneng closed this as completed Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants