HaniBlindBox/server/HoneyBox/certs/1738725801/README.md
2026-01-25 21:20:46 +08:00

40 lines
1.1 KiB
Markdown
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.

# 微信支付 V3 证书配置
## 商户信息
- 商户号: 1738725801
- 公钥ID: PUB_KEY_ID_0117387258012026012500291641000801
## 证书文件
### 已配置
- `pub_key.pem` - 微信支付公钥(已从 `微信支付商户号/微信支付公钥/` 复制)
### 待配置
- `apiclient_key.pem` - 商户API私钥
## 获取商户私钥
商户私钥需要从微信支付商户平台下载:
1. 登录 [微信支付商户平台](https://pay.weixin.qq.com)
2. 进入「账户中心」→「API安全」
3. 下载「API证书」apiclient_cert.p12 或 apiclient_key.pem
4.`apiclient_key.pem` 文件放置到此目录
## 配置参数
在后台管理系统中配置以下参数:
| 参数 | 值 |
|------|-----|
| 支付版本 | V3 |
| APIv3密钥 | d1cxc0vXCUH2984901DxddPJMYqcwcnd |
| 证书序列号 | (从商户平台获取) |
| 商户私钥路径 | certs/1738725801/apiclient_key.pem |
| 微信支付公钥ID | PUB_KEY_ID_0117387258012026012500291641000801 |
| 微信支付公钥路径 | certs/1738725801/pub_key.pem |
## 安全提示
⚠️ 私钥文件包含敏感信息,请勿提交到版本控制系统!