Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

wechatpaywechatpay 开发

Agent Skill

wechatpay 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,751

周安装

202

GitHub Stars

公开资料未说明

下载量

1,664
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wechatpay(wechatpay 开发)
来源仓库:https://github.com/duanc-chao/wechatpay
安装命令:
openclaw skills install wechatpay
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wechatpay

简介

准确清晰地引导用户和开发者了解微信支付的支付方式、集成选项、安全措施和生态系统功能。

SKILL.md

Skill Name: WeChat Pay Ecosystem & Integration Specialist

Skill Description

This skill equips an Agent with comprehensive knowledge of WeChat Pay, covering its user-facing operations, technical integration methods, security protocols, and ecosystem evolution. The Agent will be able to guide users through payment processes, assist developers with API implementation, and explain the underlying architecture of Tencent's financial technology platform.

Core Instruction Set

1. User-Facing Operations

When instructing end-users, categorize operations into three primary scenarios:

  • Active Scanning (User Scans Merchant):

- Scenario: The merchant displays a QR code (static or dynamic). - Action: The user opens WeChat, selects "Scan," and scans the code. - Flow: The user enters the amount (if not fixed) and password to complete the transaction. This is common for street vendors or scanning items on a PC website (Native Pay).

  • Passive Scanning (Merchant Scans User):

- Scenario: Supermarkets, convenience stores, or transit gates. - Action: The user opens the "Money" wallet and displays the Payment Code (barcode/QR code). - Flow: The merchant scans the code with a device. For small amounts (typically under 1000 RMB), this is often password-free (免密支付) for speed.

  • In-App & Web Payments:

- Scenario: E-commerce apps, Mini Programs, or Official Accounts. - Action: The user selects "WeChat Pay" at checkout. - Flow: The app invokes the WeChat SDK, the user confirms the amount and enters their password within the WeChat interface, then returns to the merchant app.

2. Technical Integration Architecture

For developer queries, break down the integration based on the platform:

  • Native Pay (PC/Offline):

- The merchant server generates a QR code using the WeChat Pay API. The user scans it, and the server listens for a callback notification to confirm the order status.

  • JSAPI Pay (Official Accounts):

- Used within the WeChat browser. It requires the merchant to obtain the user's openid and use the JS-SDK to invoke the payment window.

  • App Pay (Mobile SDK):

- Requires integrating the WeChat SDK into iOS/Android apps. The flow involves a pre-order creation on the merchant server, obtaining a prepay_id, and passing this to the mobile SDK to launch the payment.

  • Mini Program Pay:

- Similar to App Pay but utilizes the specific Mini Program API (wx.requestPayment). It relies on the user's logged-in state within the Mini Program environment.

3. Security & Risk Management

The Agent must emphasize security protocols and user protection:

  • Authentication: Explain that WeChat Pay relies on Real-Name Verification (linking bank cards and ID).
  • Transaction Security:

- Password-Free Limits: Inform users that small transactions (e.g., under 1000 RMB) may not require a password to improve efficiency, but this can be disabled in settings. - Risk Controls: WeChat Pay employs real-time risk monitoring. If a transaction appears suspicious (e.g., new device, unusual location), it may trigger secondary verification or block the payment.

  • Fraud Prevention:

- Warn users never to share their Payment Code (it acts like a password). - Advise against scanning unknown QR codes from untrusted sources to avoid phishing.

4. Ecosystem & Innovation

Highlight the broader capabilities and recent developments:

  • Interconnectivity: Note the recent interoperability with UnionPay Cloud QuickPass and JD Pay, allowing cross-platform scanning in certain contexts.
  • Biometric Payment: Mention advanced hardware integrations like Brush-to-Pay (Face ID) and Palm-to-Pay (Palm recognition), which allow payments without a phone.
  • Cross-Border: WeChat Pay supports multiple currencies and is widely used by international tourists in China and by Chinese tourists abroad.

Troubleshooting & Common Issues

"Payment Failed" or "System Error"

  • Diagnosis: This often indicates a network timeout, insufficient balance, or a risk control block.
  • Solution: Advise the user to check their network connection, ensure their bank card has funds, or wait 24 hours if the account is flagged for suspicious activity.

"Merchant Category Not Supported"

  • Diagnosis: The user is trying to use a credit card for a transaction type that only allows debit cards (e.g., financial products or real estate).
  • Solution: Instruct the user to switch the payment method to "Balance" or a "Debit Card" in the payment confirmation screen.

Refund Delays

  • Diagnosis: Users often expect instant refunds.
  • Explanation: Clarify that while some refunds are instant, bank processing times can take 1-3 business days depending on the issuing bank's policy.

Skill Extension Suggestions

Merchant API V3 Migration

Instruct the Agent on the differences between the legacy V2 API and the modern V3 API (which uses JSON instead of XML and improved signature mechanisms), helping developers migrate legacy systems.

Marketing Integration

Expand the skill to include "Cash Vouchers" and "Store Coupons" APIs, teaching how to integrate marketing tools directly into the payment flow to increase conversion rates.

Subscription & Withholding

Cover the "Password-Free Withholding" (Auto-debit) API, used for recurring billing scenarios like membership subscriptions or highway tolls.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.81%
按下载量换算1,328

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills