Application Information Request

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 LabelDescriptionPossible ValuesValue Description
ASKAPPINFOAsk for informationTrueTrue is the only valid value that can be passed here

Code Example

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 ...
    • 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 ...
    • Apple Pay™ In-App

      Apple Pay™ In-App is integrated to applications in order to facilitate the checkout process by using a mobile device access code or other physical recognition system during an online payment with Apple Pay™. Edit Advantages The main advantages of the ...
    • Transactions to DataCandy Application

      To call the PayFacto DataCandy application, a developer needs to create an Android intent. JavaScript Intent intent = new Intent("com.payfacto.payfactodatacandy.DATACANDY_ACTIVITY"); Extra Data Additional data are required to complete the intent: ...