我已经确定我的证书,还有商户号,证书编号等等都配置的没问题
Auto update cert failed, statusCode = 404,body = {"code":"RESOURCE_NOT_EXISTS","message":"无可用的平台证书,请在商户平台-API安全申请使用微信支付公钥。可查看指引https://pay.weixin.qq.com/docs/merchant/products/platform-certificate/wxp-pub-key-guide.html"}
你商户号使用的是微信支付公钥方案,请直接在API安全页面获取公钥使用即可,不需要再下载平台证书。我们SDK也兼容公钥,具体请了解下https://github.com/wechatpay-apiv3/wechatpay-java
公钥是完全替代平台证书的。无法回退到平台证书。
Cannot invoke "com.github.binarywang.wxpay.v3.auth.CertificatesVerifier.verify(String, byte[], String)" because "this.verifier" is null
这是为什么呢
如果你用了公钥,平台证书就不能用了。切换不回去了