| | |
| | | |
| | | private String key = "6f5e0c2dcabfa9c27b5da5836a362fef";//微信商户号 |
| | | |
| | | private String callbackPath = "https://online.daowepark.com:443/course";//支付回调网关地址 |
| | | // private String callbackPath = "https://online.daowepark.com:443/course";//支付回调网关地址 |
| | | private String callbackPath = "http://221.182.45.100:1234/course";//支付回调网关地址 |
| | | |
| | | private String app_cert_path = "C:/cert/alipay/user/app_cert_path.crt";//应用公钥证书路径 |
| | | |
| | |
| | | settleDetailInfos0.setTransInType("defaultSettle"); |
| | | settleDetailInfos.add(settleDetailInfos0); |
| | | settleInfo.setSettleDetailInfos(settleDetailInfos); |
| | | SettleConfirmExtendParams settleConfirmExtendParams = new SettleConfirmExtendParams(); |
| | | settleConfirmExtendParams.setRoyaltyFreeze("false"); |
| | | model.setExtendParams(settleConfirmExtendParams); |
| | | model.setSettleInfo(settleInfo); |
| | | request.setBizModel(model); |
| | | System.err.println("结算金额"+amount); |
| | |
| | | model.setSubMerchant(subMerchant); |
| | | if (!smid.equals("2088330203191220")){ |
| | | ExtendParams extendParams = new ExtendParams(); |
| | | extendParams.setRoyaltyFreeze("true"); |
| | | extendParams.setRoyaltyFreeze("false"); |
| | | model.setExtendParams(extendParams); |
| | | } |
| | | request.setBizModel(model); |