微信服务商支付?

微信支付 文章 2022-04-27 23:40 298 0 全屏看文

AI助手支持GPT4.0

微信服务商支付?WeChat service provider payment?

微信服务商支付?

服务商申请了一个特约商户,然后特约商户申绑定了一个小程序,三者主题都不一致,请问我用服务商的JSAPI支付接口时,报错mch_id和 appid 不一致,mch_id 是服务商的,appid是特约商户绑定的小程序的,请问mch_id 和 appid 和 支付用到的证书 我应该使用哪个账户的呢

The service provider applied for a special merchant, and then the special merchant applied for binding a small program. The themes of the three are inconsistent. When I use the service provider's jsapi payment interface, I report an error MCH_ ID and appid are inconsistent, MCH_ ID is the service provider's and appid is the applet bound by the special merchant. May I ask MCH_ Which account should I use for ID, appid and certificate used for payment

回答:

Memory:

你调错接口了吧,调用的哪个接口,如何传参的

跨商通:

1、appid填服务商的服务号的appid;

2、sub_appid填特约商户绑定的小程序,同时sub_openid填该小程序的用户的openid

3、sub_mchid填特约商户号;

4、证书是服务商商户号的。

拾忆:

首先区分是用普通商户直连接口还是服务商接口,对应的请求API地址是不一样的,提交的参数服务商也会多一些,需要具体参考相对应的文档。

-EOF-

AI助手支持GPT4.0