Accept Apple Pay payments for physical goods and services, and add passes to the user's Wallet. Covers payment buttons, payment requests, authorization, Wallet passes, and merchant configuration. Targets Swift 6.2 / iOS 26+.
Always verify the device can make payments before showing Apple Pay UI.
Button types: .buy, .setUp, .inStore, .donate, .checkout, .book, .subscribe, .reload, .addMoney, .topUp, .order, .rent, .support, .contribute, .tip
使用 PassKit 整合 Apple Pay 支付和電子錢包通行證。在新增 Apple Pay 按鈕、建立付款請求、處理付款授權、新增通行證、配置商家功能、管理運輸和聯絡欄位或使用 PKPaymentRequest、PKPaymentAuthorizationController、PKPaymentButton、PKPass、PKAddPassesViewController、PKPassLibrary 或 Apple Pay 結帳流程時使用。 來源:dpearson2699/swift-ios-skills。