使用该方法初始化
RSAConfig config = new RSAConfig.Builder() .merchantId(merchantId).privateKeyFromPath(privateKeyPath).merchantSerialNumber(merchantSerialNumber) .wechatPayCertificatesFromPath(wechatPayCertificatePath) .build();
再调用“商家转账到零钱”接口中调用service.initiateBatchTransfer()方法,接口返回失败com.wechat.pay.java.core.exception.ValidationException: Validate response failed,the WechatPay signature is incorrect,但是在responsebody中也返回了结果[{"batch_id":"131000704087401678779112023051580835629521","create_time":"2023-05-15T19:13:40+08:00","out_batch_no":"20230515191339001009"}],请问是什么原因呢?如图展示:
参考这里