File tree Expand file tree Collapse file tree
pay-java-demo/src/main/java/com/egzosn/pay/demo/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,17 +48,17 @@ public class WxV3CombinePayController {
4848 @ PostConstruct //没有证书的情况下注释掉,避免启动报错
4949 public void init () {
5050 WxPayConfigStorage wxPayConfigStorage = new WxPayConfigStorage ();
51- wxPayConfigStorage .setAppId ("wxc7b993ff15a9f27c " );
52- wxPayConfigStorage .setMchId ("1602947766 " );
51+ wxPayConfigStorage .setAppId ("wxc7b993ff15a9f26c " );
52+ wxPayConfigStorage .setMchId ("1602947765 " );
5353 //V3密钥 https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay3_2.shtml
54- wxPayConfigStorage .setV3ApiKey ("9bd8f0e7af4841299d782406b7774f56 " );
54+ wxPayConfigStorage .setV3ApiKey ("9bd8f0e7af4841299d782406b7774f57 " );
5555 wxPayConfigStorage .setNotifyUrl ("http://sailinmu.iok.la/wxV3/payBack.json" );
5656 wxPayConfigStorage .setReturnUrl ("http://sailinmu.iok.la/wxV3/payBack.json" );
5757 wxPayConfigStorage .setInputCharset ("utf-8" );
5858 //使用证书时设置为true
5959 wxPayConfigStorage .setCertSign (true );
6060 //商户API证书 https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay3_1.shtml
61- wxPayConfigStorage .setApiClientKeyP12 ("E: \\ Documents \\ gitee \\ 支付 \\ yifenli_mall.p12" );
61+ wxPayConfigStorage .setApiClientKeyP12 ("yifenli_mall.p12" );
6262 wxPayConfigStorage .setCertStoreType (CertStoreType .PATH );
6363 service = new WxCombinePayService (wxPayConfigStorage );
6464 //设置回调消息处理
Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ public class WxV3PayController {
4444 @ PostConstruct //没有证书的情况下注释掉,避免启动报错
4545 public void init () {
4646 WxPayConfigStorage wxPayConfigStorage = new WxPayConfigStorage ();
47- wxPayConfigStorage .setAppId ("wxc7b993ff15a9f27c " );
48- wxPayConfigStorage .setMchId ("1602947766 " );
47+ wxPayConfigStorage .setAppId ("wxc7b993ff15a9f26c " );
48+ wxPayConfigStorage .setMchId ("1602947765 " );
4949 //V3密钥 https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay3_2.shtml
50- wxPayConfigStorage .setV3ApiKey ("9bd8f0e7af4841299d782406b7774f56 " );
50+ wxPayConfigStorage .setV3ApiKey ("9bd8f0e7af4841299d782406b7774f57 " );
5151 wxPayConfigStorage .setNotifyUrl ("http://sailinmu.iok.la/wxV3/payBack.json" );
5252 wxPayConfigStorage .setReturnUrl ("http://sailinmu.iok.la/wxV3/payBack.json" );
5353 wxPayConfigStorage .setInputCharset ("utf-8" );
5454 //使用证书时设置为true
5555 wxPayConfigStorage .setCertSign (true );
5656 //商户API证书 https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay3_1.shtml
57- wxPayConfigStorage .setApiClientKeyP12 ("E: \\ Documents \\ gitee \\ 支付 \\ yifenli_mall.p12" );
57+ wxPayConfigStorage .setApiClientKeyP12 ("yifenli_mall.p12" );
5858 wxPayConfigStorage .setCertStoreType (CertStoreType .PATH );
5959 service = new WxPayService (wxPayConfigStorage );
6060 //设置回调消息处理
You can’t perform that action at this time.
0 commit comments