Open your project in XCode and go to file under Menu. Select Add files to "yourproject"
Select PayKun.framework in the directory you just unzipped
Select the Copy items if needed check-box
Navigate to Target settings > General and add the Paykun.framework in both Embeded Binaries and Linked Frameworks and Libraries.(below xcode 11)
For Xcode 11 and later, ensure that you have the framework added in Frameworks, Libraries, and Embed Content under Target settings - General. Change Embed status from - 'Do not Embed' to 'Embed & Sign'.
Step 3: Initialize the Paykun SDK
To initialize the Paykun SDK, you will need the following:
Device API key
isLive (true for live environment and false for test environment)
To test your integration in sandbox environment before going like, you can use our test environment (See how to create one) and use your test credentials, You just have to use isLive=false in your integration, You can use test card details provided here for testing purpose.