httpResponseBody[{"code":"SYSTEM_ERROR","message":"系统繁忙,请稍后重试"}] HttpRequest[{"http_method":"GET","url":"https://api.mch.weixin.qq.com/v3/certificates?algorithm_type=RSA","uri":"https://api.mch.weixin.qq.com/v3/certificates?algorithm_type=RSA","headers":{"headers":{"Authorization":"WECHATPAY2-SHA256-RSA2048 mchid=\"1681662078\",nonce_str=\"KrRmQdT6t13CJ3Y83riICMJdhRYiF3EB\",timestamp=\"1729086030\",serial_no=\"46A3CAAE8EAE76237000E9F0C959AD9440A60E32\",signature=\"WrlxYstrlKqjnAqNRPqnOuiZv3xiAyvYMd41FXKwxyNIswWQy5udmYYce39yyqj+ZqtLv74g5LkRLh6ITebOjJZe5YFsAgjvmE4+hugGfQzIsJ79PUDhsow70ii1PdxE1v8H+x9y6KLkN8sew3c7fm4OPHO9c/h+lCrXBaoAGg4xXLfiKXCYWj/fCjufBueEFi/zy3XlLEcT3Wlz+V/NuqFbBh8+fKOdmPripabwB5INvVSQ598vjpq8yELaRaSlWTRZXPzoFLntAy6vcGACviotKmaLVD7GeWcCSw3+o8iN0D/ZreBk0aVj3Ap6dAio8hdUQJijIeCAAdItFfxa0w==\"","Accept":" */*","User-Agent":"WechatPay-Java/0.2.14 (Windows 11/10.0) Java/17.0.12 Credential/WechatPay2Credential Validator/ okhttp3/null","Content-Type":"application/json"}}}]
如果是新申请的微信支付商户号出现「系统繁忙,请稍后重试」的报错,这是因为新申请的商户号需要使用公钥模式,具体还请参照:https://developers.weixin.qq.com/community/pay/doc/0002c6a7cf438818df52145b863c01 进行处理
wechatpay-java的sdk使用RSAPublicKeyConfig 这个配置类就可以了
新商户需要使用公钥模式,无需下载平台证书
我也遇到同样的问题,请问解决了吗