Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Implement contactless payment

Overview

The NFC Wallet SDK supports multiple contactless payment entry points on iOS:

  • Double-click: The end user double-clicks the device side button to open the default digital wallet application.

  • Field detect: The end user brings the device close to a point-of-sale (POS) terminal. When iOS detects an NFC field, it opens the default digital wallet application.

  • Manual mode: The end user opens your digital wallet application and starts a payment from the in-app UI.

Choose the experience that matches your digital wallet application UX.

User experience

Double-click

Double-click experience (side / lock button).

The end user presses the device side / lock button twice. The OS then launches the default digital wallet application. The application displays the default digital card for payment.

To support double-click, the end user must set your digital wallet application as the default contactless payment application in iOS Settings.

Field detect

Field detect experience (NFC field detection).

The end user brings the device near a POS terminal. When the NFC field is detected, the OS launches the default digital wallet application. The application displays the default digital card for payment.

To support field detect, the end user must set your digital wallet application as the default contactless payment application in iOS Settings.

Manual mode

Manual mode experience (in-app payment start).

In this experience, the end user starts the payment from within your digital wallet application. You implement the UI and the action that triggers the payment flow.

Common payment flow

Common contactless payment flow.

Whatever triggers the payment, the flow is typically:

  1. The end user initiates a payment (select pay button).

  2. The end user authenticates (CDCVM).

  3. iOS presents the NFC modal UI inviting end user to TAP.

  4. The end user taps the device on the POS terminal.

  5. After a successful tap:

    • iOS shows a success state.

    • Your digital wallet application can display the transaction context.

  6. Your digital wallet application receives the authorization result (approved/declined) and displays it to the end user (transaction notification)

Implementation guides

After you choose the contactless payment experience for your digital wallet application, implement contactless payment in this order:

  1. Check prerequisites

    including the Apple HCE entitlement

For an end-to-end walkthrough, see the full implementation example.

Last updated

Was this helpful?