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.

When you integrate Barion Smart Gateway into your mobile application, you have multiple technology options, but some of them do not support every payment method of the gateway.

To ensure the full capability of the Barion Smart Gateway, please review the following guidelines:


Android

Action required for Android apps
If your application currently relies on WebView for the Barion Smart Gateway integration, please update your app to use "CustomTabsIntent".

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. WebView unfortunately does not support Google Pay or Barion Wallet payment methods.

To assist you in the development process, Google provides a comprehensive step-by-step guide for integrating CustomTabsIntent seamlessly.

IMPORTANT
If you do not implement CustomTabsIntent, your users will not be able to pay with Google Pay and Barion Wallet from the application.


iOS/iPadOS

Action required for iOS apps
If your application currently relies on WKWebView or UIWebView for the Barion Smart Gateway integration, please update you app.

On iOS and iPadOS, 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 the full functionality of the Barion Smart Gateway.

To assist you in the development process, Apple provides a comprehensive step-by-step guide for integrating SFSafariViewController seamlessly.

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


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.