|
lass="quote 15">有赞-饭团 发表于 2018-3-22 19:25
应该是状态不对,不能同意退款,请参考文档里的退款流程图,找到正确的状态再退款哦
https://www.youzanyun ...
不好意思,前几天有事,现在才回。
同意退款和拒绝退款接口都调用成功了。
但是有些问题:
这个version我是传的订单推送消息里的version,消息体如下:
{
"client_id": "51e466e9137ff6670b",
"id": "E20180403164714040600003",
"kdt_id": 40575361,
"kdt_name": "测试用途",
"mode": 1,
"msg": "%7B%22update_time%22:%222018-04-03%2016:48:08%22,%22refund_type%22:%22REFUND_ONLY%22,%22refunded_fee%22:%220.01%22,%22refund_reason%22:%22RETURNSNOT_BUYWRONG%22,%22oid%22:1441198923748214739,%22new_oid%22:1441198923748214739,%22refund_id%22:%22201804031648080000010406%22,%22refund_state%22:%22SAFE_NEW%22,%22tid%22:%22E20180403164714040600003%22%7D",
"sendCount": 0,
"sign": "ab1938334f71e21ceae0f4525193252d",
"test": false,
"type": "TRADE_ORDER_REFUND",
"version": 1522745288
}
同意退款接口中的version是取这个地方的version吗?
此时,使用201804031648080000010406,1522745288 调用 同意/拒绝接口都失败:“同意退款失败”。
然后我用上图里的version,接口调用成功了。推送消息里的version比页面上的version少了后3位,1522745288和1522745288066。
请帮确认下是我version取错了地方还是这是一个bug
如果取错了,该去什么地方取呢
|
|
|
|
|
|
|