1.签名看文档写包含服务商ID
那么是这样写么,这样写一直报签名错误
"sp_mchid=\"" + WxPayPartnerConfig.sp_mchid + "\","
+ "sub_mchid=\"" + WxPayPartnerConfig.sub_mchid + "\","
+ "nonce_str=\"" + WxPayPartnerConfig.nonceStr + "\","
+ "timestamp=\"" + WxPayPartnerConfig.timestamp + "\","
+ "serial_no=\"" + WxPayPartnerConfig.serial_no + "\","
+ "signature=\"" + signature + "\"";
下面不是服务商如下写OK
2.配置的证书和证书序列号是服务商的对么?
签名问题请参考这个:https://developers.weixin.qq.com/community/develop/doc/000cc4ffa2c2083e565b4dabe5fc09?_at=1610098966302