5. 银联在线技术接口资料.docx
acp_prod_enc.cer acp_prod_sign_inst.pfx acp_prod_verify_sign.cer 私钥密码
商户服务网站:https://merchant.unionpay.com
# 堆代码 duidaima.com ######SDK配置文件 证书的存放路径根据实际情况配置,交易地址和证书根据PM环境、生产环境配套配置##### ##########################入网测试环境交易发送地址(线上测试需要使用生产环境交易请求地址) ##交易请求地址(正式环境下gateway.test.95516.com改为gateway.95516.com) acpsdk.frontTransUrl=https://gateway.test.95516.com/gateway/api/frontTransReq.do acpsdk.backTransUrl=https://gateway.test.95516.com/gateway/api/backTransReq.do acpsdk.singleQueryUrl=https://gateway.test.95516.com/gateway/api/queryTrans.do acpsdk.batchTransUrl=https://gateway.test.95516.com/gateway/api/batchTrans.do acpsdk.fileTransUrl=https://filedownload.95516.com/ acpsdk.appTransUrl=https://gateway.test.95516.com/gateway/api/appTransReq.do acpsdk.cardTransUrl=https://gateway.test.95516.com/gateway/api/cardTransReq.do #以下缴费产品使用,其余产品用不到 acpsdk.jfFrontTransUrl=https://gateway.test.95516.com/jiaofei/api/frontTransReq.do acpsdk.jfBackTransUrl=https://gateway.test.95516.com/jiaofei/api/backTransReq.do acpsdk.jfSingleQueryUrl=https://gateway.test.95516.com/jiaofei/api/queryTrans.do acpsdk.jfCardTransUrl=https://gateway.test.95516.com/jiaofei/api/cardTransReq.do acpsdk.jfAppTransUrl=https://gateway.test.95516.com/jiaofei/api/appTransReq.do #########################入网测试环境签名证书配置 ################################ ##签名证书路径,必须使用绝对路径,如果不想使用绝对路径,可以自行实现相对路径获取证书的方法;测试证书所有商户共用开发包中的测试签名证书,生产环境请从cfca下载得到 #windows下 #acpsdk.signCert.path=D:/certs/ #linux下(注意:在linux下读取证书需要保证证书有被应用读的权限) acpsdk.signCert.path=/cert/assets/acp_test_sign.pfx ##签名证书密码,测试环境固定000000,生产环境请修改为从cfca下载的正式证书的密码,正式环境证书密码位数需小于等于6位,否则上传到商户服务网站会失败 acpsdk.signCert.pwd=000000 ##签名证书类型,固定不需要修改 acpsdk.signCert.type=PKCS12 ##########################验签证书配置################################ ##验证签名证书目录,只配置到目录即可,必须使用绝对路径,如果不想使用绝对路径,可以自行实现相对路径获取证书的方法;测试证书所有商户共用开发包中的测试验证证书,生产环境所有商户共用开发包中的生产验签证书 #windows下 #acpsdk.validateCert.dir=D:/certs/ #linux下(注意:在linux下读取证书需要保证证书有被应用读的权限) acpsdk.validateCert.dir=/cert/assets/ ##########################加密证书配置################################ ##敏感信息加密证书路径(商户号开通了商户对敏感信息加密的权限,需要对 卡号accNo,pin和phoneNo,cvn2,expired加密(如果这些上送的话),对敏感信息加密使用) #acpsdk.encryptCert.path=d:/certs/acp_prod_enc.cer #正式生产环境路径 acpsdk.encryptCert.path=/cert/assets/acp_test_enc.cer ##是否启用多证书模式(true:单证书|false:多证书---没有配置此项时,默认为单证书模式) acpsdk.singleMode=true