Files
Epay/plugins/qqpay/inc/qpayMch.config.php
2020-02-21 16:21:31 +08:00

50 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* qpayMch.config.php
* Created by HelloWorld
* vers: v1.0.0
* User: Tencent.com
*/
define("QQ_MCH_ID", $channel['appid']);
define("QQ_MCH_KEY", $channel['appkey']);
define("QQ_OP_USERID", $conf['qq_op_userid']);
define("QQ_OP_USERPWD", $conf['qq_op_userpwd']);
class QpayMchConf
{
/**
* QQ钱包商户号
*/
const MCH_ID = QQ_MCH_ID;
/**
* API密钥。
* QQ钱包商户平台(http://qpay.qq.com/)获取
*/
const MCH_KEY = QQ_MCH_KEY;
/**
* QQ钱包公众号APPID
*/
const MCH_APPID = '';
/**
* API证书绝对路径
* QQ钱包接口中涉及资金回滚的接口会使用到商户证书包括退款、撤销接口。商家在申请QQ钱包支付成功后收到的相应邮件后可以按照指引下载API证书也可以按照以下路径下载QQ钱包商户平台(https://qpay.qq.com/)-->账户管理-->API安全 。
*/
const SSLCERT_PATH = PAY_ROOT.'cert/apiclient_cert.pem';
const SSLKEY_PATH = PAY_ROOT.'cert/apiclient_key.pem';
/**
* 企业付款-操作员ID
*/
const OP_USERID = QQ_OP_USERID;
/**
* 企业付款-操作员密码
*/
const OP_USERPWD = QQ_OP_USERPWD;
}