Integrating the SDK
Please Note: As an ISV / Paysafe Partner, you will need to complete all of the below "merchant" steps on behalf of the Parent Merchant Legal Entity (PMLE) that your merchants will be operating under.
iOS 10.0+ / macOS 10.15+
After installation, you need to set up pods for your application.
- Open the terminal and navigate to the application folder.
Create an empty Podfile.
$ touch podfile
Open the Podfile.
$ open -a xcode podfile
Add the Paysafe iOS SDK pod to your Podfile. You can specify which version you want – if you do not mention a specific version, it will take the latest version of the SDK.
Install the Paysafe iOS SDK pod in your application.
$ pod install
Once the pod is installed in your application, you have to use workspace to use the installed SDK along with your application.
To integrate iOS Paysafe SDK into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'Paysafe_SDK', '<latest_published_version>'
After installing the Paysafe_SDK cocoapod, import the SDK into your project.