wechat icon indicating copy to clipboard operation
wechat copied to clipboard

[Feature]请求支付的时候,加入订单过期时间

Open godblesshugh opened this issue 4 years ago • 7 comments

业务场景: 在某一些具有时效性的时候,订单超过一定时间就不能支付了。 这个参数可以节约主动关闭订单的操作请求。 例如,外卖场景中,订单支付需要在30min以内,超过就需要重新下单(重新判定商家是否接单)

godblesshugh avatar Aug 13 '21 02:08 godblesshugh

#432 #431

godblesshugh avatar Aug 13 '21 02:08 godblesshugh

thanks,稍后我merge进去

silenceper avatar Aug 13 '21 02:08 silenceper

感谢。 v1 的退款操作也把 v2 里面的两个参数加进来了 out_trade_no & notify_url

godblesshugh avatar Aug 13 '21 03:08 godblesshugh

你用的还是v1版本么

silenceper avatar Aug 13 '21 10:08 silenceper

咳咳 是。一开始做App微信登录。没搞清楚v2应该用哪个,就直接v1了

Have a nice day.


发件人: silenceper @.> 发送时间: Friday, August 13, 2021 6:36:58 PM 收件人: silenceper/wechat @.> 抄送: notHugh @.>; Author @.> 主题: Re: [silenceper/wechat] [Feature]请求支付的时候,加入订单过期时间 (#433)

你用的还是v1版本么

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/silenceper/wechat/issues/433#issuecomment-898363902, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYC5BUOYUQILWSZ5JQKHH3T4TYUVANCNFSM5CCWWDZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

godblesshugh avatar Aug 13 '21 10:08 godblesshugh

😭 其实v1我已经不再更新了。

silenceper avatar Aug 13 '21 11:08 silenceper

😂 那不是。下周就去改v2。v2也需要订单失效时间的嘛

godblesshugh avatar Aug 13 '21 15:08 godblesshugh