Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.57 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.57 KB

Satispay InStore client

This project is DEPRECATED. Please explore alternative integration options available at: Satispay Developer Documentation.

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

Add the following line to your Cartfile:

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

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()