Table of Contents | ||
---|---|---|
|
...
Version | Date | Changes | Author |
---|---|---|---|
1.0 | 11 April 2024 | Initial Documentation for V4 | Anne-Claire Femia |
1.1 | 14 Oct 2024 | Added Json Ticket Example | David Guignard |
1.2 | 28 Oct 2024 | Added Process Flow | Tim MacGowan |
1.3 | 13 Nov 2024 | Added link of official Android intent documentation + sample app | Rémi DEROM |
Introduction
This document lists all the PayXpress V4 features available in order to make an Inter-application (‘app-to-app’) integration between mobile apps installed on the same mobile device.
...
The PayXpress v4 app must be installed in the terminal.
It is possible to call PayXpress with our parameters only via Intent calls. (For detailed information on the android intent api, please consult the official Android documentation : https://developer.android.com/training/basics/intents, here is a sample application with examples of how to get started :
)View file name intent-call-test.zip
Process Flow
Your mobile application can call the PayXpress mobile application in order to handle the payment on the same device. This is done via Android Intent API.
...
You can print merchant or client tickets directly in the POS of the last performed transaction.
Code Block | ||
---|---|---|
| ||
intent.putExtra("transaction_bundle_key_action", "PRINT_LAST")
intent.putExtra("transaction_bundle_key_type_print_ticket", 0) |
...
Parameter | Description | Format | Type | Mandatory |
| Id of the transaction | / | String | Yes |
| Type of the transaction |
| Integer | Yes |
| Type of transaction / Payment method |
| Integer | Yes |
| Date’s timestamp |
| Long | Yes |
| Reference of the transaction transmitted as input | / | String | No |
| Amount of the transaction |
| Integer | Yes |
| Currency of the transaction | / | String | Yes |
| Selected AID during the transaction | / | String | No |
| Transaction without network / offline ? |
| Boolean | No |
| Outcome of the transaction |
| Yes | |
| Masked PAN of the card | / | String | No |
| Type of card used | / | String | No |
| Expiration date of the card |
| Integer | Yes |
| Amount of the tips (in case the functionality is activated) |
| Integer | No |
| Type of PAN (Partial PAN when nothing returned) |
| Integer | No |
| Authorization number if provided by the bank | / | String | No |
...
Parameter | Description | Format | Type | Mandatory |
| Outcome of the print |
| Integer | Yes |
| Client & merchant tickets | String | No |
Note:
For the device without integrated printer, the
status
will be always0 (successful)
.Tickets
data returned from intent call will always return client and merchant ticket in base64.