Barion Smart Gateway for mobile: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
To ensure the full capability of the Barion Smart Gateway, please review the following guidelines:
To ensure the full capability of the Barion Smart Gateway, please review the following guidelines:


 
For an optimal phone experience, we recommend hiding the 'back arrow' navigation button on our interface. To achieve this, append the following parameter to the <code>GatewayUrl</code> query string: <code>backNavigationVisible=false</code>. This setting disables the button across all screen sizes, so use it only if you are certain the buyer will view the payment gateway in a browser launched from your application.
== Android ==
== Android ==
{{NotificationBox|title=Action required for Android apps|text=If your application currently relies on WebView for the Barion Smart Gateway integration, please update your app to use "CustomTabsIntent".|color=#1993C7}}
{{NotificationBox|title=Action required for Android apps|text=If your application currently relies on WebView for the Barion Smart Gateway integration, please update your app to use "CustomTabsIntent".|color=#1993C7}}
Line 16: Line 16:


== iOS/iPadOS ==
== iOS/iPadOS ==
{{NotificationBox|title=Action required for iOS apps|text=If your application currently relies on WKWebView or UIWebView for the Barion Smart Gateway integration, please update you app.|color=#1993C7}}
{{NotificationBox|title=Action required for iOS apps|text=If your application currently relies on WKWebView or UIWebView for the Barion Smart Gateway integration, please update you app to SFSafariViewController.|color=#1993C7}}
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.
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.



Latest revision as of 12:20, 15 October 2024

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:

For an optimal phone experience, we recommend hiding the 'back arrow' navigation button on our interface. To achieve this, append the following parameter to the GatewayUrl query string: backNavigationVisible=false. This setting disables the button across all screen sizes, so use it only if you are certain the buyer will view the payment gateway in a browser launched from your application.

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 to SFSafariViewController.

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.