Apple Pay
Present the native Apple Pay sheet through the SDK. Apple Pay runs on iOS only at runtime — the ApplePayRequest model lives in shared code so you can build it anywhere, but the sheet is driven by PKPaymentAuthorizationViewController.
Overview
Apple Pay is wired to PKPaymentAuthorizationViewController — you bring the merchant identifier, the SDK drives the sheet and the decrypted-payload sale. The ApplePayRequest model lives in commonMain, so you can build it from shared Kotlin, but the sheet presents on iOS only.
Platform behaviour
On Android the ApplePayRequest model is available for shared code, but there is no runtime sheet. On Flutter, applePay(...) returns a failure response when called on Android.
Presenting the Sheet
On iOS, present EdfaApplePaySheet with the country / currency, merchant name, the order and payer, and result URLs. The final result comes back through onSuccess / onFailure / onCancelled. On Flutter, build an ApplePayRequest and await applePay(...).
Loading...Capability & Merchant ID
Apple Pay uses your Apple Pay merchant identifier and the Xcode Wallet / Apple Pay capability. The merchant certificate is tied to your Apple Developer account — it is not passed in SDK calls. EdfaPay merchant-id mapping is configured per-merchant in the dashboard.
Sandbox testing
For Apple Pay sandbox flows, follow Apple's Sandbox Testing guide and use the sandbox test cards Apple issues to your sandbox iCloud account.
On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.