Swiftpack.co -  SwedbankPay/swedbank-pay-sdk-ios as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SwedbankPay/swedbank-pay-sdk-ios
Swedbank Pay SDK for iOS
.package(url: "https://github.com/SwedbankPay/swedbank-pay-sdk-ios.git", from: "2.1.0")

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.

GitHub

link
Stars: 3
Last commit: 2 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Dependencies

Release Notes

2.1.0
3 weeks 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.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics