MonriPayments / monri-ios

Monri Payments iOS SDK
MIT License
5 stars 4 forks source link

Monri iOS SDK

The Monri iOS SDK makes it easy to build an excellent payment experience in your iOS app. It provides powerful, customizable, UI elements to use out-of-the-box to collect your users' payment details.

We also expose the low-level APIs that power those elements to make it easy to build fully custom forms. This guide will take you all the way from integrating our SDK to accepting payments from your users via credit cards.

Installation/Configuration

Install and configure the SDK

You can choose to install the Monri iOS SDK via CocoaPods.

CocoaPods:

  1. If you haven't already, install the latest version of CocoaPods
  2. Add this line to your Podfile:
    pod 'Monri', '~> 1.0'
  3. Run the following command:
    pod install
  4. Don't forget to use the .xcworkspace file to open your project in Xcode, instead of the .xcodeprojfile, from here on out.
  5. In the future, to update to the latest version of the SDK, just run:
    pod update Monri

For full installation/configuration guide check our wiki page at Installation Guide

Payment API Integration

At some point in the flow of your app you'll obtain payment details from the user. After that you could:

In Payment API Integration it's explained how to:

If you want to tokenize obtained payment details then continue to the "Tokens API Integration"

Tokens API Integration

After you've obtained payment details it's easy to securely transfer collected data via Tokens API.

In Tokens API Integration it's explained how to:

Questions

If you have any questions about documentation/APIs/flow do not hesitate to contact us at support@monri.com