统一下单接口报错 appid和opendid不匹配

微信支付 文章 2021-03-10 15:41 802 0 全屏看文

AI助手支持GPT4.0

统一下单接口报错 appid和opendid不匹配The unified order interface reports an error that appid and opendid do not match

统一下单接口报错 appid和opendid不匹配

原来小程序调用的微信支付 是小程序的appid和商户号,后来需要改成微信公众号的appid和商户号进行支付,修改之后就会报错appid和openid不匹配。有没有官方人员回答一下。

The WeChat payment that was originally called by the small program is the appid and merchant number of the small program. Later, it needs to be converted into the appid and the merchant number of WeChat official account. After that, the appid and openid will be mismatched. Is there an official to answer.

回答:

微信支付技术社区运营-Tasting:

appid和openid是一一匹配的,可以检查商户统一下单接口里传的参数里的appid和openid是否对应。如果是服务商模式请去开发配置服务商模式查询有无绑定子商户号。绑定子商户号的方法是在服务商商户平台里的服务商功能里点开发配置。公众号支付获取openid的方式可以核对一下文档:https://mp.weixin.qq.com/wiki?t=resourcees_main&id=mp1421140842  APP支付获取openid的方式请参考:https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resourcees_list&verify=1&id=open1419317851&token=&lang=zh_CN

跨商通:

后来改成的这些操作,不支持。

改回去吧。

Memory:

小程序使用公众号appid进行支付???

-EOF-

AI助手支持GPT4.0