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

微信支付 文章 2020-08-14 17:01 603 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


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
微信支付可以商户与商户之间付款或转账吗(即公对公付款或转账),以及有没有API
服务商开通子商户的差价手续费必须扫码才可以吗?
v3接口,通过商户号查询用户可用券的接口的sender_mchid参数不对?
微信开放平台,制作微信登录时,获取access_token返回40029?
微信开发者工具调试企业微信报错?
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8082
问题? 7407
如何快速搭建抽奖助手小程序(无需代码知识) 5090
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6043
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5655
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5246
如何解决渲染层网络错误Failed to load media? 16598
小程序找号找回 释放昵称? 2452
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2530
删除部分微信用户个人数据的通知,怎么删除? 5581