Application Information Request
To call the PayFacto payment application, a developer needs to create an Android intent.
JavaScript
Intent intent = new Intent("com.payfacto.terminal.payment.PAYMENT_ACTIVITY");
More extra data is needed to complete the intent:
| Extra String Label | Description | Possible Values | Value Description |
|---|
ASKAPPINFO | Ask for information | True | True is the only valid value that can be passed here |
JavaScript
try {
Intent intent = new Intent("com.payfacto.terminal.payment.PAYMENT_ACTIVITY");
intent.putExtra("ASKAPPINFO", true);
startActivityForResult(intent, 1);
Toast.makeText(getApplicationContext(), "Success",Toast.LENGTH_SHORT).show();
}catch(Exception e){
Toast.makeText(getApplicationContext(), "Fail",Toast.LENGTH_SHORT).show();
}
Related Articles
Request Parameters
Parameter AccountNumber Amount BatchNumber CardHolderAddress CardHolderAVV CardHolderPostalCode CardNumber CardType CompanyNumber CurrencyCode CustomerNumber Cvv2Cvc2Number Description DisplayText Email EndDate ExpirationDate FailureUrl Frequency ID ...
Application Information Response
Use this piece of code as a reference. Some values will only be sent if the terminal is not locked. JavaScript String value; if (data != null ) { boolean isBlock = data.getBooleanExtra("BLOCK", false); value += "BLOCK = " + isBlock + "\n"; if ...
Secure Payment - Android Intent (Application to Application)
Description This documentation is intended for customers and third parties wishing to control the PayFacto payment application running on a PAX Android device using an Android Intent. The document contains the functional message specifications for a ...
DataCandy Gift Cards - Android Intent (Application to Application)
Description This document is intended for customers and third parties wishing to control the PayFacto DataCandy application running on a PAX Android device using an Android Intent. The document contains the functional message specifications for a ...
Hosted Payment Page
Introduction This page aims to train future users of the secure redirection of the PayFacto payment solution. You will find in this page a description of the secure redirection service, the operation, the various call and return parameters, the ...