The Swedbank Pay iOS SDK facilitates the implementation of the Swedbank Pay API Platform in an iOS application.
The SDK has two components,
SwedbankPaySDKMerchantBackend. The first one is the core SDK, and
the second one contains utilities for interfacing with a server implementing
the Merchant Backend API.
If you are not using the Merchant Backend API for backend communication,
you only need to use the
SwedbankPaySDK component. Otherwise, you
should add both components to your project.
The SDK is available through the Swift Package Manager. This is the simplest way of adding the SDK to an Xcode project.
Follow the instructions here to add a SwiftPM dependency.
as the repository URL. Select either only the
SwedbankPaySDK library or both
libraries depending on your use-case.
The SDK is also available through CocoaPods. There are separate
pods for the two components, named
Add the relevant dependencies in your
pod 'SwedbankPaySDK', '~> 2.1'
pod 'SwedbankPaySDKMerchantBackend', '~> 2.1'
Please refer to the Developer Portal for usage instructions.
To explore a working app using the SDK, see the Example Project.
Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct and sign the contributor's license agreement.
|Last commit: 2 days ago|
SwedbankPaySDK is now also available through the Swift Package Manager.
To add the SDK to your Xcode project via SwiftPM, choose the File -> Swift Packages -> Add Package Dependency option, or go to the Swift Packages tab of your project properties. Then add a dependency using the git url
https://github.com/SwedbankPay/swedbank-pay-sdk-ios.git. The package contains two libraries, SwedbankPaySDK and SwedbankPaySDKMerchantBackend. If you do not use the Merchant Backend API for backend communications, you only need SwedbankPaySDK. Otherwise, select both libraries.
SwedbankPaySDK remains available through CocoaPods as well.