This covers the two main parts of Apple's PassKit framework: accepting Apple Pay payments and adding passes to Wallet. You'll find code for setting up payment buttons in SwiftUI and UIKit, building PKPaymentRequest objects with line items and shipping options, handling the authorization flow with delegates, and presenting the payment sheet. The Wallet side shows how to load .pkpass files and add them with PKAddPassesViewController. It's comprehensive on the payments flow, including how to handle shipping method updates and recalculate totals dynamically. The setup section walks through merchant ID configuration and capability checks, which is helpful since Apple Pay requires specific entitlements and certificates to work. Targets iOS 26+ with Swift 6.3, so it assumes you're on recent tooling.

skills.sh installs
3.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill passkit --agent claude-code

Installs into .claude/skills of the current project.

Files

PassKit

Accept Apple Pay payments for physical goods, real-world services, donations, and eligible recurring payments, and add passes to the user's Wallet. Covers payment buttons, payment requests, authorization, Wallet passes, and merchant configuration. Targets Swift 6.3 / iOS 26+.

For advanced Apple Pay flows, one PKPaymentRequest can set only one optional advanced request type: recurring, automatic reload, deferred, Apple Pay Later availability, or multi-token contexts. Use separate payment requests when a checkout needs more than one of those modes.

Contents

Setup

Project Configuration

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Security, Mobile Development, Finance & Trading, Web3 & Blockchain
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98

Recommended

More Security
1dpearson2699 avatarsensorkitdpearson2699/swift-ios-skillsAccess research-grade sensor data using SensorKit for approved studies. Use when an app needs SensorKit entitlement setup, Research Sensor & Usage Data authoriz3.2Kskills.sh installs
2mksglu avatarcontext-modemksglu/context-modeUse context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process3Kskills.sh installs
3nexu-io avatarlogin-flownexu-io/open-designMobile login and authentication flow screens2.9Kskills.sh installs
4cap-go avatarcapacitor-best-practicescap-go/capgo-skillsBest practices for Capacitor app development including project structure, plugin usage, performance optimization, security, and deployment. Use this skill when 2.9Kskills.sh installs
5cursor avatarthermo-nuclear-reviewcursor/pluginsComprehensive security and correctness audit of a branch's changes. Use for thermo nuclear, thermonuclear, or deep review requests, or branch/PR diff audits foc2.8Kskills.sh installs
6dynatrace avatardt-obs-kubernetesdynatrace/dynatrace-for-aiKubernetes cluster, pod, node, and workload monitoring. Use when analyzing K8s health, resource optimization, pod failures, OOMKills, scheduling, or security po2.8Kskills.sh installs