diff --git a/api/config.sample.toml b/api/config.sample.toml index 2b9642de..461b60a5 100644 --- a/api/config.sample.toml +++ b/api/config.sample.toml @@ -122,4 +122,16 @@ WeChatBot = false AppId = "" # 商户 ID PrivateKey = "" # 秘钥 ApiURL = "https://payjs.cn" - NotifyURL = "https://ai.r9it.com/api/payment/payjs/notify" # 异步回调地址,域名改成你自己的 \ No newline at end of file + NotifyURL = "https://ai.r9it.com/api/payment/payjs/notify" # 异步回调地址,域名改成你自己的 + +# 微信商户支付 +[WechatPayConfig] + Enabled = false + AppId = "" # 商户应用ID + MchId = "" # 商户号 + SerialNo = "" # API 证书序列号 + PrivateKey = "certs/alipay/privateKey.txt" # API 证书私钥文件路径,跟支付宝一样,把私钥文件拷贝到对应的路径,证书路径要映射到容器内 + ApiV3Key = "" # APIV3 私钥,这个是你自己在微信支付平台设置的 + NotifyURL = "https://ai.r9it.com/api/payment/wechat/notify" # 支付成功异步回调地址,域名改成自己的 + ReturnURL = "" # 支付成功同步回调地址 +