Pay3 Android SDK

Initialize

3min

Installation

Add the Pay3 SDK to your app's build.gradle

build.gradle.kts


Initialize the SDK

Initialize the Pay3 SDK in your application's main activity:

This function initialises Pay3 SDK to support Fiat Checkout flow.

Pay3 team shares values for hostname and clientId during onboarding. Following parameters can be used for creating new instance of Pay3.

Parameters

  1. hostname: Pay3 will be opened in a new window using this hostname prefix. The host name is environment dependent.
  2. clientId: A unique client id is created for each client application. The client id is environment dependent.
MainActivity.kt