Files
g.hnyhua.cn/Mtxfw.Utility/WXPay.Config.cs
2026-02-07 15:48:27 +08:00

58 lines
2.3 KiB
C#
Raw Permalink 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.
using System;
using System.Collections.Generic;
using System.Web;
namespace Mtxfw.Utility
{
/**
* 配置账号信息
*/
public class WxPayConfig
{
//=======【基本信息设置】=====================================
/* 微信公众号信息配置
* APPID绑定支付的APPID必须配置
* MCHID商户号必须配置
* KEY商户支付密钥参考开户邮件设置必须配置
* APPSECRET公众帐号secert仅JSAPI支付的时候需要配置
*/
public const string APPID = "wxe965c716efd6017e";
public const string MCHID = "1532040961";
public const string KEY = "hxchengxinm8848vipxltgocom999888";
public const string APPSECRET = "9a0a53d733dcc78cbff07b93df5d3e47";
//=======【证书路径设置】=====================================
/* 证书路径,注意应该填写绝对路径(仅退款、撤销订单时需要)
*/
public const string SSLCERT_PATH = "cert/apiclient_cert.p12";
public const string SSLCERT_PASSWORD = "1233410002";
//=======【支付结果通知url】=====================================
/* 支付结果通知回调url用于商户接收支付结果
*/
public const string NOTIFY_URL = "http://shop.hxchengxin.com/pay/wxpaynotify_url.aspx";
//=======【商户系统后台机器IP】=====================================
/* 此参数可手动配置也可在程序中自动获取
*/
public const string IP = "211.149.253.200";
//=======【代理服务器设置】===================================
/* 默认IP和端口号分别为0.0.0.0和0此时不开启代理如有需要才设置
*/
public const string PROXY_URL = "";
//=======【上报信息配置】===================================
/* 测速上报等级0.关闭上报; 1.仅错误时上报; 2.全量上报
*/
public const int REPORT_LEVENL = 0;
//=======【日志级别】===================================
/* 日志等级0.不输出日志1.只输出错误信息; 2.输出错误和正常信息; 3.输出错误信息、正常信息和调试信息
*/
public const int LOG_LEVENL = 3;
}
}