关于微信支付V3-JSAPI下单API接口获取用户在服务商appid下的唯一标识

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:16 1855 0 全屏看文

AI助手支持GPT4.0

关于微信支付V3-JSAPI下单API接口获取用户在服务商appid下的唯一标识

微信支付老师:

      您好,最近我司在对接V3版本接口,遇到无法获取用户在服务商appid下的唯一标识的问题。具体情况如下:

        我们采用小程序JSAPI(服务商模式)下单支付

        小程序主体是A公司

        服务商主体是B公司

        支付商户主体是C公司

       

        服务商B公司为-----C公司支付商户的APPID账户管理绑定了-----A公司的小程序APPID。


       目前遇到的问题是小程序获取的用户openid和appid不匹配。同样配置在V2接口是好使的。

       请问微信支付老师我应该在什么地方配置后才能让用户openid和appid匹配???????

       

JSAPI接口参数如下

服务商公众号ID ----- B公司服务号APPID

服务商户号 ----- B公司服务商商户号

子商户公众号ID ----- A公司小程序APPID

子商户号 ----- C公司支付商户号

Wechat payment teacher: Hello, recently, our company encountered the problem that we couldn't obtain the user's unique ID under the service provider's appid when we were docking the V3 version interface. The details are as follows: we use the small program jsapi (service provider mode) to place an order. The main body of the small program is company a, the subject of the service provider is company B, the subject of the payment merchant is the service provider of company C. The appid account management of company B is bound with the appid of company A. The current problem is that the user openid and appid obtained by the applet do not match. The same configuration in V2 interface is easy to use. Where should I configure the wechat payment teacher to make the user openid and appid match??????? JSAPI interface parameters are as follows: ID, the service provider's official account number, APPID service business number, B company service provider, business shop official account, business public number ID - A company small program APPID sub business number - - C company pays merchant No. B

回答:

支付技术助手8:

https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_4,麻烦参看openid获取文档。

金铁洙:能不能认真读题,同样的参数同样的配置V2一切正常。V3提示“openid和appid不匹配”

-EOF-

AI助手支持GPT4.0