我也是同样的问题,应答验签失败
SerialNumber for verifying signatures is?] responseBody[{"code_url":"weixin://wxpay/bizpayurl?pr=p3Ca5xhzz"}] {"code_url":"weixin://wxpay/bizpayurl?pr=p3Ca5xhzz"} at com.wechat.pay.java.core.http.AbstractHttpClient.validateResponse(AbstractHttpClient.java:70) ] at com.wechat.pay.java.core.http.AbstractHttpClient.execute(AbstractHttpClient.java:43) at com.wechat.pay.java.service.payments.nativepay.NativePayService.prepay(NativePayService.java:162) at com.roncoo.education.service.impl.NativePayServiceExample.prepay(NativePayServiceExample.java:82) 01:03:57.716 [main] DEBUG com.wechat.pay.java.core.auth.WechatPay2Validator - SerialNumber for verifying signatures is[794B8F75EC4744D19E4F9906EE50A491A92E83A8] at com.roncoo.education.service.impl.NativePayServiceExample.main(NativePayServiceExample.java:41) 01:03:57.716 [main] DEBUG com.wechat.pay.java.core.auth.WechatPay2Validator - Signature for verifying signatures 微信navite支付,预下单接口返回这个错误 完整错误 08:27:29.734 [main] ERROR com.wechat.pay.java.core.cipher.AbstractVerifier - Verify the signature and get the WechatPay certificate corresponding to serialNumber[794B8F75EC4744D19E4F9906EE50A491A92E83A8] is empty. ] responseBody[{"code_url":"weixin://wxpay/bizpayurl?pr=STcRvnQzz"}] at com.wechat.pay.java.core.http.AbstractHttpClient.validateResponse(AbstractHttpClient.java:70) at com.wechat.pay.java.core.http.AbstractHttpClient.execute(AbstractHttpClient.java:43) at com.wechat.pay.java.service.payments.nativepay.NativePayService.prepay(NativePayService.java:162) at com.roncoo.education.service.impl.NativePayServiceExample.prepay(NativePayServiceExample.java:84) at com.roncoo.education.service.impl.NativePayServiceExample.main(NativePayServiceExample.java:41)
2022-12-03