First integration

Error message

Tutorial 3ds2-exemptions-ReD is unknown

First integration

This guide will help you to make your first payment with ready-to-use payment forms.

Demo app

You are welcome to get started with our demo application. You can start making test transactions without any efforts including setting up a server, we provide a test integration server for you. Please note, that it is configured for demo purposes only.

The demo app is provided along with SDK since version 2.5.0.

NOTE: Before running the application, make sure SDK files are copied to the demo app folder. Find more details in the readme.txt file.


Requirements

Install the SDK

Set Up Your Server

To start working with our SDK, you should expose two APIs on your backend for your iOS app to communicate with:

  • Endpoint 1: Creating a checkout ID,
  • Endpoint 2: Getting result of payment.

See detailed instruction in our guide "Set Up Your Server".


Request Checkout ID

Your app should request a checkout ID from your server. This example uses our sample integration server; please adapt it to use your own backend API.

Present Checkout UI

Request Payment Status

Finally your app should request the payment status from your server (again, adapt this example to your own setup).


Testing

The sandbox environment only accepts test payment parameters.

You can find test values for credit cards and bank accounts in our Testing Guide.

Go to Production

1. Talk to your account manager to get the live credentials.

2. Adjust the server type to LIVE in your initialization of .

3. Change your backend to use the correct API endpoints and credentials.