Guide CloudBase WeChat Pay integration using the pay-common template.
Trigger when user mentions: "CloudBase 支付", "云开发支付", "pay-common",
"支付模板", "云函数支付", "云托管支付", "支付回调配不通", "帮我接个支付",
"pay-common 怎么部署", "pay-common 环境变量", "签名失败 PEM",
"集成中心", "MISSING_CREDENTIALS", "微信支付接入".
For WeChat Pay API-level questions (signing, error codes, refund rules),
defer to wechatpay-basic-payment skill.
For coupon/券, defer to wechatpay-product-coupon skill.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
graph TD
A{用户要接微信支付} --> B{想了解什么?}
B -->|JSAPI/H5/Native 区别| C[→ wechatpay-basic-payment]
B -->|CloudBase 部署方案选择| D[→ references/方案选型/cloudbase-pay-overview.md]
B -->|集成中心一键创建| IC[→ references/模板接入/integration-center.md]
B -->|商户凭证怎么配| M[→ references/模板接入/merchant-credentials.md]
B -->|已决定用 pay-common| E[进入模板接入]
E --> F{需要做什么?}
F -->|快速上手| G[→ references/模板接入/quick-start.md]
F -->|环境变量配置| H[→ references/模板接入/env-config.md]
F -->|SDK vs Gateway 签名| I[→ references/模板接入/sign-mode.md]
F -->|部署到云端| J[→ references/部署/deploy-*.md]
F -->|前端调起支付| K[→ references/前端集成/*.md]
F -->|微搭低码接入| W[→ references/前端集成/weda-miniprogram.md]
F -->|报错排查| L[→ references/问题排查/troubleshooting.md]