App2App payment: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Barion App2App Payment makes it possible to easily pay with Barion balance or credit card through Barion Smart Gateway and purchase any good...") |
|||
Line 37: | Line 37: | ||
* You need to handle when the Barion application is available on the user's device or not. | * You need to handle when the Barion application is available on the user's device or not. | ||
|- | |- | ||
| colspan="2" style="font-weight: bold; text-align: center" | [[ | | colspan="2" style="font-weight: bold; text-align: center" | [[File:Barion_app2app_flow_updated_2.png|center|800px]] | ||
|- | |- | ||
!colspan="2" style="font-size: 150%"| With Barion Mobile Library | !colspan="2" style="font-size: 150%"| With Barion Mobile Library |
Revision as of 08:31, 8 February 2019
Barion App2App Payment makes it possible to easily pay with Barion balance or credit card through Barion Smart Gateway and purchase any goods/services in the integration applications. .
Payment is initiated by an application. There are two ways to pay:
- If the Barion mobile application is available on the mobile device (iOS, Android) the customer will pay in the Barion mobile app. In order to use the Barion mobile app, the customer must have an activated Barion wallet.
- If the Barion mobile application isn't available on the mobile device the payment is made on Barion's responsive website, just like for web payment. The website is accessible on every platform and customers don't have to have Barion wallet.
The documentation below shows the integration processes.
Before you start to integrate we recommend reading this description.
Integration possibilities
You can integrate Barion Smart Gateway into mobile apps in three ways:
- With your own server-side
- In this case, the mobile application doesn't communicate directly with the Barion system.
- On your server-side you can use for example our PHP Library, you can find it on Barion's Github page
- With Barion Mobile Library
- In this case, your mobile application will communicate with the Barion System through our Barion Mobile Library.
- You can find Android and iOS libraries on Barion's GitHub page
- Totally native implementation (we don't recommend it)
- In this case, your mobile application will communicate directly with the Barion System and you need to implement everything on your own.
In all cases, it is highly recommended to obfuscate client applications! We recommend using ProGuard or DexGuard.
You can see the integration possibilities pros and cons in this table:
Using server-side | |
---|---|
Pros | Cons |
|
|
With Barion Mobile Library | |
Pros | Cons |
|
|
Native solution (not recommended) | |
Pros | Cons |
|
Integration descriptions
center|256px Integrate on Android | center|256px Integrate on iOS |