自定义交易组件,支付成功提示订单不存在?

小程序 文章 2022-04-17 17:00 0 全屏看文

自定义交易组件,支付成功提示订单不存在?Customize the transaction component, the payment is successful and the order does not exist?

自定义交易组件,支付成功提示订单不存在?

在使用自定义交易组件,集成requestOrderPayment,在本地测试支付,在视频号可以看到订单,返回订单成功errcode:0,但在线上版,就提示订单不存在。搞不懂是什么问题?而且后台自定义交易组件里面,订单接口调用确认不了。说未检测到你未完成此步。

{"errcode":1010011,"errmsg":"订单不存在 rid: 625b927b-2ee7bf23-15eb59a8"}

When using the custom transaction component, integrate requestorderpayment and test payment locally. You can see the order in the video number and return the order success errCode: 0. However, when it is online, it will prompt that the order does not exist. What's the problem? Moreover, in the background custom transaction component, the order interface call cannot be confirmed. Said you were not detected to complete this step. {"errCode": 1010011, "errmsg": "order does not exist rid: 625b927b-2ee7bf23-15eb59a8"}

回答:

Memory:

看你代码,你就没走新版接口

阿建|小程序开发:

您好,场景值设置了这个:

有使用了requestOrderPayment,在本地测试是可以完成订单支付的。反而在线版本不能同步。

哈哈哈:你获取场景值是怎么获取的, 不能用wx.getEnterOptionsSync
哈哈哈:有做支付检验判断吗?
哈哈哈:

你检查一下场景值,然后确认一下你线上支付是否用了requestOrderPayment 这个, 最好问题描述清晰一点,订单接口确认不了,是指订单同步支付结果api吗

https://developers.weixin.qq.com/community/develop/article/doc/000ea218444b804072bd5a9db51813

-EOF-