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-codeInstalls 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
- Displaying the Apple Pay Button
- Creating a Payment Request
- Presenting the Payment Sheet
- Handling Payment Authorization
- Wallet Passes
- Checking Pass Library
- Common Mistakes
- Review Checklist
- References
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- Audioaccessorykit3.2K
- Dockkit3.2K
- Browserenginekit3.2K
- Appmigrationkit3.2K
- Relevancekit3.2K
- Sensorkit3.2K
- Swift Security3.2K
- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- Swiftlint2.9K
- Swift Formatstyle2.8K
- Core Data2.8K
- Focus Engine2.8K
- Ios Security1.1K
- Live Activities465
- Mapkit Location461
- Photos Camera Media456
- Eventkit Calendar415
- Cloudkit Sync413
- Metrickit Diagnostics409
- Musickit Audio409
- Realitykit Ar407
- Callkit Voip403
