SDKConfig.php
2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
// ######(以下配置为生产环境配置,请根据商户系统自身情况修改)#######
// cvn2加密 1:加密 0:不加密
const SDK_CVN2_ENC = 0;
// 有效期加密 1:加密 0:不加密
const SDK_DATE_ENC = 0;
// 卡号加密 1:加密 0:不加密
const SDK_PAN_ENC = 0;
// 签名证书路径 (联系运营获取两码,在CFCA网站下载后配置,自行设置证书密码并配置)
const SDK_SIGN_CERT_PATH = 'conf/release/certs/pc_online_banking.pfx';
// 签名证书密码
const SDK_SIGN_CERT_PWD = 'yoho12';
// 验签证书
const SDK_VERIFY_CERT_PATH = 'conf/release/certs/UpopRsaCert.cer';
// 密码加密证书
const SDK_ENCRYPT_CERT_PATH = 'conf/release/certs/RSA2048_PROD_index_22.cer';
// 验签证书路径
const SDK_VERIFY_CERT_DIR = 'conf/release/certs/';
// 前台请求地址
const SDK_FRONT_TRANS_URL = 'https://gateway.95516.com/gateway/api/frontTransReq.do';
// 后台请求地址
const SDK_BACK_TRANS_URL = 'https://gateway.95516.com/gateway/api/backTransReq.do';
// 批量交易
const SDK_BATCH_TRANS_URL = 'https://gateway.95516.com/gateway/api/batchTrans.do';
//单笔查询请求地址
const SDK_SINGLE_QUERY_URL = 'https://gateway.95516.com/gateway/api/queryTrans.do';
//文件传输请求地址
const SDK_FILE_QUERY_URL = 'https://filedownload.95516.com/';
//有卡交易地址
const SDK_Card_Request_Url = 'https://gateway.95516.com/gateway/api/cardTransReq.do';
//App交易地址
const SDK_App_Request_Url = 'https://gateway.95516.com/gateway/api/appTransReq.do';
// 前台通知地址 (商户自行配置通知地址)
const SDK_FRONT_NOTIFY_URL = '/pay/payreturn/unionpaywebreturn';
// 后台通知地址 (商户自行配置通知地址)
const SDK_BACK_NOTIFY_URL = 'payment/unionpay_newnotify';
//文件下载目录
const SDK_FILE_DOWN_PATH = '/Data/logs/pc_pay/unionpay/files/';
//日志 目录
const SDK_LOG_FILE_PATH = '/Data/logs/pc_pay/unionpay/';
//日志级别
const SDK_LOG_LEVEL = 2; // 记录信息日志
?>