] 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)
我也同样的问题,楼上解决了吗?
https://gitcode.net/mirrors/wechatpay-apiv3/CertificateDownloader?utm_source=csdn_github_accelerator
我也是同样的问题,应答验签失败
这里验证的时候空了