SatispayInStore 0.1.14

SatispayInStore 0.1.14

TestsTested
LangLanguage SwiftSwift
License Apache-2.0
ReleasedLast Release Sep 2018
SPMSupports SPM

Maintained by Pierluigi D'Andrea, Oni_01.



  • By
  • Pierluigi D'Andrea

Satispay InStore client

This project provides an example iOS application using the Satispay InStore framework to interact with the Satispay in store API.

More information about the API can be retrived in their documentation.

Requirements

  • iOS 8.0+ or macOS 10.10+
  • Swift 3.2/4.0

Example project usage

Clone the repo:

git clone https://github.com/satispay/in-store-api-swift-sdk

From the repo root init submodules:

git submodule update --init --recursive

Open SatispayInStore.xcodeproj and compile.

Installation

Carthage

Add the following line to your Cartfile:

github "Satispay/in-store-api-swift-sdk"

Cocoapods

Add the following lines to your Podfile:

pod 'SatispayInStore'

Copying source files

SatispayInStore can also be used just by coping source files from the SatispayInStore framework target into your Xcode project.

Usage

Environment configuration

SatispayInStore supports the following environments:

  • Production (default)
  • Staging
  • Test

To select a different environment, in your app delegate:

SatispayInStoreConfig.environment = StagingEnvironment()