Installation

Welcome to the Payabl iOS SDK integration guide. This page explains how to install the SDK and initiate a payment using the latest supported approach

Prerequisites

Before integrating the SDK, ensure your development environment meets the following requirements:

  • iOS Deployment Target: iOS 16.0 or later
  • Xcode: Version 15 or later
  • Swift: Version 5 or later
  • UI Framework Support: Compatible with both UIKit and SwiftUI

Installation

You can install the Payabl SDK using Swift Package Manager:

  1. Open your Xcode project.
  2. Go to File > Add Packages.
  3. Enter the following repository URL: https://github.com/payabl-plugins/payablMerchant-iOS
  4. Choose the branch feature/ReadMeUpdate and complete the package integration.
  5. Additionally: drag and drop the following XCFramework into your project ipworks3ds_sdk.xcframework (required for 3D Secure support)
  6. In your project settings, under Frameworks, Libraries, and Embedded Content, ensure both are listed as Embed & Sign.
  7. Make sure the SDK is added to the correct target in your project.

Additional Resources


Next Step

Continue with the Integration