微信支付退款证书使用
@Value("${wx.refund.cert.path}")
public String certificateFile;
/**
* 退款、撤销 订单支付使用的payProxy
* @return
*/
private WeixinPayProxy createSSLPayProxy() {
ManagerConfigPublicInfo config = managerConfigPublicInfoDao.getConfig();
WeixinPayAccount weixinPayAccount = new WeixinPayAccount(config.getWxappId(), config.getWxPaySignKey(),
config.getWxMchId(), config.getWxMchId(), certificateFile);
WeixinPayProxy payProxy = new WeixinPayProxy(weixinPayAccount);
return payProxy;
}