iOS SDK Quick Start Guide
This quick guide provides a concise, start-to-finish walkthrough for getting from registration to a successful payment using the TapOnMobile SDK, so you can understand the main steps and act quickly without reading the full documentation.
Introduction
To check the full documentation, go to the next section and skip this Quick Start section.
Overall view:
- 1. Start:
- 1.1 Perform initialization once:
- Check device compatibility.
- Initialize SDK with environment & version.
- 1.2 Registration:
- Link the current device to a merchant user via backoffice.
- 1.3 Login (if session is not valid: login not done, session expired...):
- Start an active session with secure code.
- 1.1 Perform initialization once:
- 2. Usage:
- 2.1 Get Terminal Information
- 2.2 Allow localization permission:
- Required for NFC proximity detection.
- 2.3 Wait until prepare device is completed:
- Device must be fully prepared before any transaction.
- 2.4 Perform transactions:
- Execute payments (sale, refund, etc.)
- 2.5 Session Expiration
- 3. End:
- 3.1 Logout (if session is valid):
- End current session gracefully.
- 3.2 Unregister (can be called after registration is completed)
- Unlink device from merchant.
- 3.1 Logout (if session is valid):
Prerequisites: Worldline TapOnMobile SDK library integrated (Swift package manager or static frameworks).