iOS Mobile App Integration

MISpay can be integrated into iOS applications using an SDK, providing in-app payment capabilities with a seamless user experience.

Configuration

Our web payment integration requires the location of the user. Therefore we will add the privacy key of NSLocationWhenInUseUsageDescription into the app's' Info.plist.

Installation

Swift Package Manager

Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding MISPay SDK as a dependency is as easy as adding it to the dependencies value of your Package.swift or the Package list in Xcode.

dependencies: [
    .package(url: "https://github.com/mispay-bnpl/mispay-ios-sdk.git")
]

Usage

MISPay.checkout(viewControllerToPresent, url) { message in
    // Handle the message
}