api_alipay_trade_create can't use notify_url
xiaowuyongzhi opened this issue · 7 comments
xiaowuyongzhi commented
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
xiaowuyongzhi commented
急急急 @fzlee
fzlee commented
试试新版的server_api
函数?
xiaowuyongzhi commented
我看你把magre合并了 能不能打一个新版的包
xiaowuyongzhi commented
我现在是通过类继承在代码中解决这个问题
fzlee commented
On Fri, 5 Feb 2021 at 15:14, xiaowuyongzhi ***@***.***> wrote:
我看你把magre合并了 能不能打一个新版的包
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#122 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOYLNKRR75U2333VBJDXVDS5OLHFANCNFSM4XEB6M6Q>
.
已经提交新的包了,你需要用国外的源,国内同步没这么快--
顺颂时祺
Fazheng Li
xiaowuyongzhi commented
我看了下 server_api 也是使用build_body 所以这个alipay.trade.create 也不能实现notify_url
fzlee commented
可以写在server_api 的kwargs里面, kwargs会被添加到biz_content同级的地方