You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< ? php
/**
* 配置账号信息
*/
class WxPayConf_pub
{
//=======【基本信息设置】=====================================
//微信公众号身份的唯一标识。审核通过后,在微信发送的邮件中查
/**
* TODO: 修改这里配置为您自己申请的商户信息
* 微信公众号信息配置
*
* APPID: 绑定支付的APPID( 必须配置, 开户邮件中可查看)
*
* MCHID: 商户号( 必须配置, 开户邮件中可查看)
*
* KEY: 商户支付密钥, 参考开户邮件设置( 必须配置, 登录商户平台自行设置)
* 设置地址: https://pay.weixin.qq.com/index.php/account/api_cert
*
* APPSECRET: 公众帐号secert( 仅JSAPI支付的时候需要配置, 登录公众平台,进入开发者中心可设置),
* 获取地址: https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=2005451881&lang=zh_CN
* @var string
*/
//=======【JSAPI路径设置】===================================
//获取access_token过程中的跳转uri, 通过跳转将code传入jsapi支付页面
const JS_API_CALL_URL = 'http://www.xxxxxx.com/demo/js_api_call.php' ;
//=======【证书路径设置】=====================================
//证书路径,注意应该填写绝对路径
// const SSLCERT_PATH = './cacert/apiclient_cert.pem';
// const SSLKEY_PATH = './cacert/apiclient_key.pem';
const SSLCERT_PATH = 'E:\phpStudy\WWW\sy3.0\ThinkPHP\Library\Vendor\WxPayPubHelper\cacert\apiclient_cert.pem' ;
const SSLKEY_PATH = 'E:\phpStudy\WWW\sy3.0\ThinkPHP\Library\Vendor\WxPayPubHelper\cacert\apiclient_key.pem' ;
//=======【异步通知url设置】===================================
//异步通知url, 商户根据实际开发过程设定
// const NOTIFY_URL = 'http://local.newyy.com/server.php/CallBack/notify/apitype/wxpay_callback/method/notify';
//=======【curl超时设置】===================================
//本例程通过curl使用HTTP POST方法, 此处可修改其超时时间, 默认为30秒
const CURL_TIMEOUT = 30 ;
}
?>