Config.php
1.83 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
namespace WebPlugin\Pay\Alipay;
class Config
{
//老网关,2013年3月20日下线
// var $pay_url = "https://www.alipay.com/cooperate/gateway.do";
//新网关
var $pay_url = "https://mapi.alipay.com/gateway.do";
/**
* 服务名,即时到帐为create_direct_pay_by_user
* Enter description here ...
* @var String
*/
var $service = "create_direct_pay_by_user";
/**
* 合作伙伴在支付宝的用户ID
* Enter description here ...
* @var string
*/
var $partner = "";
/**
* 编码
* Enter description here ...
* @var String
*/
var $input_charset = "utf-8";
/**
* 通知url,(用于后台提交)
* Enter description here ...
* @var String
*/
var $notify_url = "payment/alipay_notify";
/**
* 浏览器的返回
* Enter description here ...
* @var string
*/
var $return_url = "/pay/payreturn/alipayreturn";
/**
* 签名方式
* Enter description here ...
* @var String
*/
var $sign_type = "MD5";
/**
* 支付类型,1为购买
* Enter description here ...
* @var Integer
*/
var $payment_type = "1";
/**
* Key
* Enter description here ...
* @var String
*/
var $alipay_key = "";
/**
* 销售者mail
* Enter description here ...
* @var String
*/
var $sellerMail = "";
/**
* 防钓鱼配置
*/
var $anti_fishing = array(
'ip_enable' => false,
'timestamp_enable' => false
);
/**
* @var string 日志目录
*/
var $logDir = '/Data/logs/pc_pay/alipay';
/**
* @var string 日志等级
*/
var $logLevel = 2; // 记录信息日志
}