This commit is contained in:
eric
2026-03-08 06:43:29 -05:00
parent f725104c8a
commit d77f90cb8c
8 changed files with 155 additions and 13 deletions

View File

@@ -1,7 +1,16 @@
# 支付渠道xorpay | zpay
PAYMENT_PROVIDER=xorpay
# ========== 本地调试 ==========
# BASE_URL 需为 ZPAY 可访问的回调地址。本地调试时 ZPAY 无法回调 localhost
# 可用 ngrok 等隧道BASE_URL=https://xxx.ngrok.io
# 或直接使用生产地址测试回调(需 payjsapi 已部署到公网)
# XorPay默认
# ========== 生产部署 ==========
# BASE_URL 必须为 payjsapi 实际公网地址ZPAY 异步通知会请求此地址
BASE_URL=https://api.hackrobot.cn
# 支付渠道xorpay | zpay默认 zpay
PAYMENT_PROVIDER=zpay
# XorPay
XORPAY_AID=8220
XORPAY_SECRET=your_secret
@@ -9,9 +18,6 @@ XORPAY_SECRET=your_secret
ZPAY_PID=2025121809351743
ZPAY_KEY=tpEi7wWIWI2kXiYVTpIG6j7it0mjVW89
# 回调根地址
BASE_URL=https://api.hackrobot.cn
# PocketBase
PB_URL=https://pocketbase.hackrobot.cn
PB_ADMIN_EMAIL=your@email.com