SwedbankPaySDK 2.2.0

SwedbankPaySDK 2.2.0

Maintained by Swedbank Pay SDK for iOS.



  • By
  • Swedbank Pay

Swedbank Pay SDK for iOS

Swedbank Pay SDK for iOS

Tests Cocoapods Cocoapods platforms CLA assistant License Dependabot Status Contributor Covenant

The Swedbank Pay iOS SDK facilitates the implementation of the Swedbank Pay API Platform in an iOS application.

Installation

The SDK has two components, SwedbankPaySDK and 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.

Swift Package Manager

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. Use https://github.com/SwedbankPay/swedbank-pay-sdk-ios.git as the repository URL. Select either only the SwedbankPaySDK library or both libraries depending on your use-case.

CocoaPods

The SDK is also available through CocoaPods. There are separate pods for the two components, named SwedbankPaySDK and SwedbankPaySDKMerchantBackend respectively.

Add the relevant dependencies in your Podfile:

pod 'SwedbankPaySDK', '~> 2.1'
pod 'SwedbankPaySDKMerchantBackend', '~> 2.1'

Usage

Please refer to the Developer Portal for usage instructions.

To explore a working app using the SDK, see the Example Project.

Contributing

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.

License

The code within this repository is available as open source under the terms of the Apache 2.0 License and the contributor's license agreement.