Barion Smart Gateway for mobile

From Barion Documentation
Jump to navigation Jump to search

Barion Smart Gateway integration for mobile applications

Barion simplifies the process of payments through the Barion Smart Gateway, enabling users to make secure transactions using their Barion balance or credit card directly from within mobile applications. Before you start to integrate we recommend reading this article first.

To ensure a smooth integration experience, please review the following guidelines:

Payment Initiation

When an application initiates a payment, it should be presented to users as a responsive website, mirroring the web payment experience. However, specific technologies must be employed to unlock the full functionality of the Barion Smart Gateway.

User Authentication

For user authentication within the Barion Smart Gateway, a passkey is required. To seamlessly display the Barion Smart Gateway within your application, consider the following platform-specific instructions:

Android

To provide a consistent and secure user experience, you must utilize a first-party solution called "CustomTabsIntent" for displaying the Barion Smart Gateway on Android. It's essential to note that WebView does not support Passkey authentication.

Action required for Android apps
If your application currently relies on WebView for the Barion Smart Gateway integration, it is essential to prioritize refactoring.

To assist you in this transition, Google provides a comprehensive step-by-step guide for integrating CustomTabsIntent seamlessly. By adhering to these guidelines and implementing the recommended solutions, you can ensure that your mobile application seamlessly leverages the power of the Barion Smart Gateway, enhancing user convenience and security in payment transactions.

IMPORTANT
Failure to implement CustomTabsIntent will result in users being unable to log in to their Barion Wallet from the application.

iOS

To provide a consistent and secure user experience, you must utilize a first-party solution called "SFSafariViewController" for displaying the Barion Smart Gateway on iOS. It's essential to note that WKWebView and UIWebView do not support Passkey authentication.

Action required for iOS apps
If your application currently relies on WKWebView or UIWebView for the Barion Smart Gateway integration, it is essential to prioritize refactoring.

To assist you in this transition, Apple provides a comprehensive step-by-step guide for integrating SFSafariViewController seamlessly. By adhering to these guidelines and implementing the recommended solutions, you can ensure that your mobile application seamlessly leverages the power of the Barion Smart Gateway, enhancing user convenience and security in payment transactions.

IMPORTANT
Failure to implement SFSafariViewController will result in users being unable to log in to their Barion Wallet from the application.