Demo App: Build & Run (iOS)
The iOS demo app is a fully functional reference implementation of the payabl. Mobile SDK. It runs against the payabl. sandbox using a pre-configured demo merchant, so you can see every payment method working — and read the source that drives them — without setting up your own account or server.
Use it to:
- See the SDK in action before you integrate — install the pre-built app and run real sandbox payments.
- Learn the integration patterns — the source shows how each payment method is configured and how results are handled, with inline comments.
Option 1: Install via TestFlight
The fastest way to try the SDK. No account, server setup, or SDK access required.
- Install the demo app via TestFlight:
→ payabl. Mobile SDK Demo - Open the app and try any payment method using the sandbox test data.
Requires iOS 17.6 or higher. You'll need the free TestFlight app installed.
Option 2: Build from source
Explore and modify the reference implementation.
Prerequisites
- Access to the payablMerchant-iOS-demo repository — see the SDK Access Guide. One access request covers both the SDK and demo repositories.
- Your GitHub credentials configured in Xcode (the demo resolves the SDK from the private GitHub repository, same as a real integration). The exact setup is documented in the demo repository README.
Steps
- Clone the repository:
git clone https://github.com/payabl-plugins/payablMerchant-iOS-demo.git- Follow the setup instructions in the demo repository README to configure your GitHub credentials so Xcode can resolve the SDK package.
- Open the project in Xcode and let package resolution finish.
- Run the app on the Simulator or a device (iOS 17.6+).
The demo uses a fixed payabl. demo merchant configuration and connects to the sandbox out of the box. You cannot swap in your own merchant credentials.
Apple Pay in the demo requires a real device with a sandbox tester Apple ID — it is not fully testable in the Simulator. See Apple Pay sandbox testing.
What the demo covers
The app demonstrates each integration pattern the SDK supports:
| Flow | What it shows |
|---|---|
| Hosted Payment Page | All payment methods in a single integration |
| Pay by Card (standalone) | Direct card entry |
| Apple Pay (standalone) | Apple Pay sheet and result handling |
| Instant Bank Transfer (standalone) | Redirect / deep-link return flow |
| Result handling | Success, failure, and cancellation callbacks |
