Wechat-Group / WxJava

微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发
Apache License 2.0
29.66k stars 8.53k forks source link

refundqueryv2的 WxPayRefundQueryResult 定义错误 #3255

Closed witt-bit closed 1 month ago

witt-bit commented 5 months ago

微信官方文档 https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_104&index=4

中返回值中有refund_status字段,虽然文档没有描述说明,但是实际有这个字段,现在WxPayRefundQueryResult对象在V2时并没有声明refund_status相关字段

如果没有这个字段,就无法区分是处理中的成功,还是实际到账成功

binarywang commented 4 months ago

欢迎直接提交PR代码,谢谢

0katekate0 commented 3 months ago

V2版本里面,WxPayRefundQueryResult有RefundRecord,RefundRecord里面有refund_status字段。

Q&A: 1、现在推荐用V3版本了,为什么在用V2版本? 2、这边能不能提供一下具体的返回值? 3、你现在那边是不是有一个空的refundRecords?

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.