Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesMapiError class is our only error-enum which contains all of the possible error-codes. It is a part of the Error.class which is returned in the onErrorDelegate which is triggered when something went wrong.
MapiError | Description | Possible solution |
---|---|---|
FLOW_ALREADY_HAPPENING | A flow is currently already happening. | Wait until other flow is finished |
TERMINAL_CONNECTION_LOST | Connection lost to the terminal. | Verify if terminal is connected and ready to accept payments |
FAILED_TO_CONNECT_TO_TERMINAL | Failed to connect to the terminal. | Verify if terminal is connected and ready to accept payments |
RESPONSE_TIMEOUT | Response timeout occurred. | Verify if terminal is connected and ready to accept payments |
AUTH_AND_CAP_FLOW_NOT_SUPPORTED | The authorise and capture flow isn’t yet supported. | Contact us to enable |
RECEIVED_UNKNOWN_MESSAGE_FROM_TERMINAL | Received an unknown message from the payment terminal. | Contact us to discover |
VOID_SPECIFIC_SALE_NOT_SUPPORTED | Trying to void a specific payment. This isn’t yet supported. Only the last sale transaction can be voided. | |
NOT_A_FLOW_HAPPENING | There isn’t a flow happening at the moment. | |
SECONDARY_FLOW_ALREADY_HAPPENING | A secondary flow is already happening | Abort already initiated |
NOT_SUPPORTED | This flow is not supported yet | Contact us if unclear |
VOID_TX_ID_NOT_FOUND | Trying to void a specific payment but the payment id does not exist | Verify if id is the requestId |
SOCKET_CONNECTION_ISSUE | Issue with the socket connection | Verify if terminal is connected and ready to accept payments |
TX_ID_NOT_FOUND | Transaction id does not exist | Verify if id is the requestId |
PAYMENT_ID_INVALID | Payment ID is not of type unsigned integer with max length of 9 characters | |
WORKSTATION_ID_INVALID | WorkstationId has a max length of 16 characters | |
MERCHANT_REFERENCE_INVALID | Merchant reference may not be empty and has a max length of 100 characters | Add merchantReference |
NO_NFC_ADAPTER | This device does not support NFC | |
NFC_NOT_ENABLED | Please turn on your NFC reader | |
NFC_FLOW_NOT_SUPPORTED | Android NFC is not supported on this app. Use different payment call for Android NFC support. | |
UNSUPPORTED | This operation is currently not supported. Verify the documentation for more information | |
INITIALISATION_ERROR | An error has occurred while initializing the terminal | |
INITIALISATION_NO_TOKEN_ERROR | No token was received while performing the connect initialisation task | |
VERIFY_MERCHANT_ERROR | Merchant could not be verified | |
CONTACT_TMS_ERROR | Contact tms has failed | Verify if terminal is connected and ready to accept payments |
FETCH_TMS_ERROR | Could not fetch tms | Verify if terminal is connected and ready to accept payments |
REPEAT_LAST_PAYMENT_FAILED | Could not repeat last payment | |
WRITE_TERMINAL_CONFIG_FAILED | Could not write configuration to terminal | Verify if terminal is connected and ready to accept payments |
FIRMWARE_UPDATE_FAILED | Could not update terminal firmware | Please contact us to solve |
NO_ACTIVE_PAYMENT_ERROR | There is no active payment | |
RECONCILIATION_WITH_CLOSURE_FAILED | Could not reconcile with closure | Verify if terminal is connected and ready to accept payments |
REQUEST_TERMINAL_STATUS_FAILED | Could not receive status from the terminal | |
ABORT_ERROR | Something went wrong while performing a abort | |
REPRINT_LAST_TICKET_FAILED | Could not reprint last ticket | There is no last ticket |
ONGOING_PAYMENT_ERROR | Could not perform task because there is a payment ongoing | Wait until payment is finished |
SEND_EMAIL_FAILED | Email could not be send | |
TOKEN_ERROR | An error has occurred while performing a ask token transaction | |
CARD_DETECTION_FAILED | Failed to perform a card detection | |
FINANCIAL_ADVICE_MESSAGES_FAILED | Failed to receive financial advice messages | |
PRE_AUTHENTICATION_FAILED | Failed to perform a pre authentication | |
CONNECTION_ERROR | No network connection | |
SEND_PASSWORD_ERROR | Generating password hashcode has failed | |
AMOUNT_REQUIRED | Payment requires an amount and the amount must be positive | |
SHIFTNUMBER_REQUIRED | ShiftNumber must be present on the terminal object to get a transaction overview from the terminal | |
RETRY_REPEAT_LAST_MESSAGE | Terminal is unavailable, automatically retrying every 10 seconds… | |
REQUEST_ID_NOT_EQUAL | The provided requestId, from the Payment object, is not equal to the requestId of the last payment retrieved from the terminal | |
MODULE_DOES_NOT_EXISTS | This module does not exists on this pax device | |
BARCODE_SCAN_FAILED | Something went wrong while scanning the barcode | |
BARCODE_SCANNER_INITIALIZATION_FAILED | Something went wrong while initializing the barcode scanner |