cloudbase-wechat-integration
构建 CloudBase 微信支付流程
CloudBase 上的 WeChat Pay 和公众号 OAuth 需要正确生成的函数、openid 类型和回调检查。此技能引导 Claude、Codex 和 Claude Code 完成场景设置、客户端调用和安全扩展模式。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "cloudbase-wechat-integration" from https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration.md and its manifest at https://skillstore.io/api/skills/tencentcloudbase-cloudbase-wechat-integration/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“cloudbase-wechat-integration”。 我需要在微信公众号页面中使用 JSAPI Pay。
预期结果:
该技能会识别 JSAPI Pay,要求提供公众号 openid,询问生成的函数路由,并通过回调或查询确认支付。
正在使用“cloudbase-wechat-integration”。 我的小程序支付成功了,但订单没有履约。
预期结果:
该技能会检查是否信任了前端成功状态,然后引导审查回调日志、订单查询和幂等履约逻辑。
正在使用“cloudbase-wechat-integration”。 我需要为 Web 结账实现 Native 二维码支付。
预期结果:
该技能会区分 Native Pay 和 JSAPI Pay,规划从 code_url 渲染二维码,并在履约前等待回调或轮询确认。
安全审计
安全Reviewed all static findings against the skill content and found them to be documentation false positives. The skill gives defensive CloudBase WeChat integration guidance, references official docs, and warns users to keep merchant secrets out of code and chat. No prompt injection, data exfiltration intent, or executable malicious behavior was found.
风险因素
🌐 网络访问 (9)
⚙️ 外部命令 (21)
📁 文件系统访问 (3)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tencentcloudbase-cloudbase-wechat-integration/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/tencentcloudbase-cloudbase-wechat-integration.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
tencentcloudbase. (2026). cloudbase-wechat-integration security audit report (audit version 2) [Author version 2.23.8]. Skillstore. https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration/audits/2BibTeX 引用
@techreport{tencentcloudbase-tencentcloudbase-cloudbase-wechat-integration-2026,
author = {tencentcloudbase},
title = {cloudbase-wechat-integration security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration/audits/2},
note = {Author version 2.23.8}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "cloudbase-wechat-integration security audit report (audit version 2)"
version: "2.23.8"
type: report
authors:
- name: "tencentcloudbase"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/tencentcloudbase-cloudbase-wechat-integration/audits/2"
identifiers:
- type: other
value: "skillstore:tencentcloudbase-cloudbase-wechat-integration:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
添加小程序支付
指导小程序结账流程使用生成的支付函数、requestPayment 和服务端确认。
实现公众号结账
规划在微信浏览器内获取 OAuth openid 并完成 JSAPI 支付。
诊断支付集成故障
在修改代码前追踪 404 错误、缺失凭证、回调失败和 openid 不匹配问题。
试试这些提示
帮我为我的应用选择正确的 CloudBase 微信集成流程。请询问客户端类型、支付类型,以及是否需要 OAuth。
指导我使用 CloudBase Integration Center 添加小程序 WeChat Pay。包括生成的函数名称、requestPayment 步骤和回调确认。
在 CloudBase 上设计一个公众号 JSAPI 支付流程。包括 OAuth openid 获取、生成的函数调用和订单状态验证。
审查我的 CloudBase 生成支付函数扩展计划。检查订单持久化、幂等性、金额校验、回调处理和密钥边界。
最佳实践
- 在编写客户端调用前,确认实际生成的函数名称和路由。
- 使用回调或订单查询作为权威支付状态。
- 将商户密钥、AppSecret 值、密钥和证书保留在 CloudBase 控制台配置中。
避免
- 当控制台生成了不同名称时,不要硬编码示例函数名称。
- 不要仅根据前端支付成功回调来履约订单。
- 不要将商户密钥、私钥、证书或 AppSecret 值粘贴到聊天或源代码中。
常见问题
此技能会自动创建 CloudBase 集成吗?
它涵盖哪些微信支付类型?
它能帮助处理公众号 OAuth 吗?
它会存储或请求支付密钥吗?
它能调试回调失败吗?
它会取代官方 CloudBase 文档吗?
开发者详情
许可证
MIT
作者版本
v2.23.8
Skillstore 修订
r1
引用
24b2fe42a456262f3fd0fb3df72e12d9ed2c32ec
维护新鲜度
2026/7/18
使用量
1 次下载 · 0 次浏览