包含卡券的订单,退款执行失败

微信支付 文章 2020-08-14 17:01 601 0 全屏看文

AI助手支持GPT4.0

包含卡券的订单,退款执行失败Refund execution failed for orders containing coupons

包含卡券的订单,退款执行失败

1、用户使用满1.1元减1元的全场通用微信现金券,后台执行退款操作失败


2、请求参数和请求接口如下:

请求的url地址如下:

https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_103&index=3

请求参数:



3、响应结果如下:

4、疑问

4.1、参考的官方文档链接如下:https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_103&index=3

detail的格式是按照文档的提示拼接的,但是返回invalid detail参数格式错误

4.2、文档是否这个地方编写错了, 不应该参参考退款接口的字段么?如下图:

1. When the user uses the universal wechat cash coupon of 1.1 yuan minus 1 yuan, the refund operation fails in the background. 2. The request parameters and the request interface are as follows: the URL address of the request is as follows: https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_ 103 & index = 3 request parameters: 3. The response results are as follows: 4. Questions 4.1. The links to the official documents are as follows: https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_ 103 & index = 3 the format of detail is spliced according to the prompts of the document, but the invalid detail parameter format error is returned. 4.2. Is the document written incorrectly in this place, should not refer to the fields of the refund interface? As shown in the figure below:

回答:

支付技术助手8:

严格按照文档参数传值,这个数据都没有哪里来的。而且一件单品不可以部分退款

这两个数据要一样

zero:

提问都时候,本来想用代码的形式放请求参数的,但是发现编辑器不支持,每次都少一个< 符号,所以我故意新增了一个,忘记去掉了;其实请求是合法的xml

北望沣渭:
{}<

xml闭包多了个 <

-EOF-

AI助手支持GPT4.0