Closed xiaowuyongzhi closed 3 years ago
急急急 @fzlee
试试新版的server_api
函数?
我看你把magre合并了 能不能打一个新版的包
我现在是通过类继承在代码中解决这个问题
On Fri, 5 Feb 2021 at 15:14, xiaowuyongzhi notifications@github.com wrote:
我看你把magre合并了 能不能打一个新版的包
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fzlee/alipay/issues/122#issuecomment-773844268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYLNKRR75U2333VBJDXVDS5OLHFANCNFSM4XEB6M6Q .
已经提交新的包了,你需要用国外的源,国内同步没这么快-- 顺颂时祺
Fazheng Li
我看了下 server_api 也是使用build_body 所以这个alipay.trade.create 也不能实现notify_url
可以写在server_api 的kwargs里面, kwargs会被添加到biz_content同级的地方
if method in ( "alipay.trade.app.pay", "alipay.trade.wap.pay", "alipay.trade.page.pay", "alipay.trade.pay", "alipay.trade.precreate" ) and (notify_url or self._app_notify_url): data["notify_url"] = notify_url or self._app_notify_url