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
.
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")
]
MISPay.checkout(viewControllerToPresent, url) { message in
// Handle the message
}
This SDK is to allow MIS-Pay merchants seamlessly integrate with MIS-Pay payment gateway.
A detailed integration documentation be found here.
Also if you are working on a different platform, you can find the SDKs for other platforms here.