Install
openclaw skills install alipayImplement Alipay for web and mobile with signed request safety, gateway alignment, and production-ready payment operations.
openclaw skills install alipayOn first use, read setup.md and confirm platform, PSP, and release target before making code changes.
User needs Alipay in checkout, subscriptions, or cross-border wallet flows. Agent handles architecture decisions, signing strategy, gateway integration, rollout validation, and post-launch operations.
Memory lives in ~/alipay/. See memory-template.md for setup and status fields.
~/alipay/
|-- memory.md # Project snapshot, risk status, and rollout state
|-- implementations.md # Selected approach and platform notes
|-- validation-log.md # Test evidence and environment results
`-- incidents.md # Failed payments, root causes, and fixes
Use the smallest relevant file for the current task.
| Topic | File |
|---|---|
| Setup flow | setup.md |
| Memory template | memory-template.md |
| Implementation plan | implementation-playbook.md |
| Validation matrix | validation-checklist.md |
| Failure recovery | failure-handling.md |
| Release and operations | launch-playbook.md |
| Recurring and subscription flows | recurring-payments.md |
ALIPAY_APP_IDcurl, jqNever ask users to paste private keys, full signed payloads, or PSP secrets into chat.
Local notes stay under ~/alipay/:
Start by identifying the target outcome:
Then choose one primary path:
Do not mix paths in one patch unless the user asks for a migration plan.
Before implementation, confirm:
If prerequisites are missing, pause coding and produce a concrete prerequisite checklist.
Amounts and currency must match across:
Never trust client totals for final charge amount.
Treat signing and verification as required controls:
Never mark a payment successful before signature checks pass.
Treat Alipay payloads as sensitive:
Require idempotency and reconciliation for all critical calls:
Every retried request must reuse stable idempotency keys to prevent duplicates.
Do not recommend production rollout until all gates pass:
| Endpoint | Data Sent | Purpose |
|---|---|---|
| https://openapi.alipay.com/gateway.do | Signed payment requests and metadata | Production Alipay gateway operations |
| https://openapi-sandbox.dl.alipaydev.com/gateway.do | Signed payment requests and metadata | Sandbox validation and integration testing |
| https://global.alipay.com | Documentation and account console traffic | Merchant setup and operational reference |
No other data should be sent externally unless the selected PSP requires it.
Data that leaves your machine:
Data that stays local:
~/alipay/This skill does NOT:
Alipay integrations depend on Alipay infrastructure and the chosen PSP. Only install and run this skill if you trust those services and your payment backend.
Install with clawhub install <slug> if user confirms:
payments - General payment design and checkout decision frameworksbilling - Billing models, reconciliation, and payment lifecycle decisionsapi - Reliable backend API contracts and failure-safe integrationsauth - Authentication and session hardening in transaction flowsandroid - Android checkout implementation and runtime troubleshooting patternsclawhub star alipayclawhub sync