WeChatPay Payment Integration Guide
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @tencent-adm/wechatpay-payment-integration.
About this skill
Where WeChatPay integration usually gets stuck
Teams often do not lack API docs. They get stuck between product selection, merchant roles, field meanings, error codes, and pre-release checks. Payment issues span APIv3, callbacks, refunds, reconciliation, and security compliance, and writing code from memory can lead to wrong roles, failed order queries, refund anomalies, or production fund risk.
How the skill works
It focuses on domestic WeChatPay integration and requires resource sync and knowledge search before answering from official documentation. Core capabilities include:
- Product selection: match the payment product to the business scenario, role, and fund flow.
- Sample code: provide official request examples for curl, Java, and Go; for other languages, explicitly mark output as an AI reference implementation.
- Integration quality review: scan existing code with a quality checklist, product notes, and issue severity such as 🔴🟡🟠.
- Q&A and troubleshooting: act as the fallback path for field meanings, workflow questions, error codes, and order-status checks.
The workflow emphasizes search-before-answer: run knowledge search each turn, read the matching docs, and state when coverage is missing instead of inventing details.
Boundaries
It assumes domestic merchants and does not cover cross-border payments. Non-official language code must be reviewed by developers. It is useful for integration, debugging, and pre-release review, but it is not a substitute for business decisions, financial audit, or human security review.
Use Cases
- Select the right WeChatPay product before launch based on merchant role and fund flow.
- Retrieve official curl, Java, or Go samples and doc links while implementing payment APIs.
- Diagnose query failures or error codes during integration and propose next troubleshooting steps.
- Review production payment code before release and list security, compliance, and fund-flow risks.
Best For
- Backend engineers implementing payment APIs and checking official curl, Java, or Go samples.
- Payment owners reviewing fund-flow and security compliance before production release.
- Integration testers debugging query failures, refund anomalies, and error-code meanings.
- Business developers selecting the right WeChatPay product for merchant roles.
Related Skills
Creates themed learning sites by generating flashcards, lessons, quizzes, index, and progress pages into a deployable website.
End-to-end mathematical optimization modeling with Gurobi and Python, covering data validation, code generation, solving, result analysis, and iterative revision.
Executes an Eversheet Web CDP login using externally supplied baseUrl, username, and password, then verifies the page reaches a logged-in home state.
Clarify product goals, user flows, pages, data, and permissions, then output an implementation-ready development prompt and lightweight spec.