What problem does it solve?
Enable iOS apps to accept Apple Pay payments and manage Wallet passes without guesswork by providing configuration steps, availability checks, payment request construction, payment sheet presentation, authorization handling, and pass management guidance.
Core Features & Use Cases
- Apple Pay Integration: Configure merchant IDs and payment processing certificates, build PKPaymentRequest with supported networks and merchant capabilities, and present the system payment sheet.
- Authorization & Token Handling: Implement PKPaymentAuthorizationControllerDelegate to securely forward PKPaymentToken to backend processors and handle success/failure results.
- Wallet Pass Management: Load and add .pkpass bundles, check and update the PKPassLibrary, and handle pass updates via server push for dynamic content.
- Use Case: A retail app uses this Skill to show an Apple Pay button only when available, collect shipping contact fields, recalculate totals when shipping methods change, and securely send the payment token to a server for capture.
Quick Start
Start a payment flow to create a PKPaymentRequest, present PKPaymentAuthorizationController, and securely send the returned payment token to your backend for processing.