Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

apple-payApple PAY 安全

Agent Skill

apple-pay 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,520

周安装

366

GitHub Stars

1

下载量

2,987
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install apple-pay

简介

通过商家验证、令牌处理和生产安全的结账流程实施适用于 Web 和 iOS 的 Apple Pay。

SKILL.md

name
Apple Pay
slug
apple-pay
version
1.0.0
homepage
https://clawic.com/skills/apple-pay
description
Implement Apple Pay for web and iOS with merchant validation, token handling, and production-safe checkout flows.
changelog
Expanded implementation and rollout guidance with stronger validation and incident handling playbooks.
metadata
{"clawdbot":{"emoji":"🍎","requires":{"bins":["curl","jq"],"env":["APPLE_PAY_MERCHANT_ID"]},"os":["darwin","linux","win32"]}}

Setup

On first use, read setup.md and confirm platform, PSP, and release target before making code changes.

When to Use

User needs Apple Pay for checkout, subscriptions, or wallet-first conversion improvements. Agent handles architecture choice, merchant setup, token safety, launch validation, and post-launch operations.

Architecture

Memory lives in ~/apple-pay/. See memory-template.md for setup and status fields.

~/apple-pay/
|-- 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

Quick Reference

Use the smallest relevant file for the current task.

TopicFile
Setup flowsetup.md
Memory templatememory-template.md
Implementation planimplementation-playbook.md
Validation matrixvalidation-checklist.md
Failure recoveryfailure-handling.md
Release and operationslaunch-playbook.md
Recurring and subscription flowsrecurring-payments.md

Requirements

  • Environment variable: APPLE_PAY_MERCHANT_ID
  • CLI tools for diagnostics: curl, jq
  • Access to Apple merchant account assets for the target environment

Never ask users to paste private keys or full certificate private material into chat.

Data Storage

Local notes stay under ~/apple-pay/:

  • memory file for current state and integration decisions
  • validation log file for test outcomes and evidence
  • incidents file for failure signatures and mitigations

Core Rules

1. Confirm Business Goal Before Choosing Integration Path

Start by identifying the target outcome:

  • Higher checkout conversion
  • Faster repeat purchases
  • Cleaner mobile payment UX
  • Lower payment failures

Then choose one primary path:

  • Web with Apple Pay JS and merchant session backend
  • Native iOS with PassKit
  • PSP-mediated integration (for example Stripe, Adyen, Braintree)

Do not mix paths in one patch unless user asks for a migration plan.

2. Require Merchant and Domain Prerequisites

Before implementation, confirm:

  • Merchant ID exists and matches target environment
  • Payment processing certificate exists and is valid
  • Domain association file is hosted and reachable for web
  • Sandbox and production credentials are separated

If any prerequisite is missing, pause coding and produce a concrete prerequisite checklist.

3. Enforce Server Truth for Amounts and Currency

Amounts and currency must match across:

  • Client request payload
  • Server-side cart or order totals
  • PSP authorization and capture calls

Never trust client totals for final charge amount.

4. Keep Token Handling Minimal and Auditable

Treat Apple Pay payment tokens as sensitive:

  • Forward token payload only to backend or PSP
  • Persist metadata only (request id, status, amount, currency)
  • Never store raw token payload in logs, notes, or screenshots

5. Build Idempotent and Recoverable Payment Steps

Require idempotency and reconciliation for all critical calls:

  • Authorization request
  • Capture request
  • Refund or void operations

Every retried request must reuse stable idempotency keys to prevent duplicates.

6. Separate Sandbox and Production Release Gates

Do not recommend production rollout until all gates pass:

  • Sandbox success, decline, cancellation, and timeout paths are tested
  • Device and browser matrix is complete for supported audience
  • Fallback card or alternative checkout works when Apple Pay is unavailable
  • Failure observability and alerts are active

7. Include Support and Incident Paths in Every Delivery

For each implementation, include:

  • What customer sees on success and failure
  • Which errors are recoverable vs terminal
  • What support team should do first for each failure class
  • Rollback or kill-switch decision point

Prefer stable payment reliability over feature breadth.

Common Traps

  • Running merchant validation from the client -> exposes sensitive flow and fails reviews
  • Trusting client-side totals -> mismatch between authorized and captured amounts
  • Reusing sandbox credentials in production -> live checkout failures at launch
  • Treating simulator-only tests as release evidence -> real devices still fail
  • Missing idempotency on retries -> duplicate charges and refund overhead
  • Launching without fallback checkout -> conversion loss when wallet is unavailable

External Endpoints

EndpointData SentPurpose
https://apple-pay-gateway.apple.comMerchant validation request payloadEstablish merchant session for Apple Pay on the web
https://apple-pay-gateway-cert.apple.comMerchant validation request payload (sandbox/cert path)Validate merchant sessions in non-production environments
https://appleid.apple.comAccount and merchant auth metadataApple account and merchant identity operations

No other data should be sent externally unless the selected PSP requires it.

Security & Privacy

Data that leaves your machine:

  • Merchant validation requests to Apple endpoints
  • Payment tokens sent to the configured PSP or backend

Data that stays local:

  • Integration notes and rollout state under ~/apple-pay/
  • Validation evidence and failure logs without raw tokens

This skill does NOT:

  • Store raw payment tokens in memory files
  • Skip mandatory Apple merchant requirements
  • Enable production release without explicit readiness checks

Trust

Apple Pay integrations depend on Apple infrastructure and the chosen PSP. Only install and run this skill if you trust those services and your payment backend.

Related Skills

Install with clawhub install <slug> if user confirms:

  • payments - General payment design and checkout decision frameworks
  • app-store-connect - Apple ecosystem account and operational workflows
  • ios - iOS implementation and device-level debugging patterns
  • auth - Authentication and session hardening in transaction flows
  • api - Reliable backend API contracts and failure-safe integrations

Feedback

  • If useful: clawhub star apple-pay
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

91.55%
按下载量换算2,735

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills