Skip to main content

In-Person Payments

NotificationType.hpp

Last updated: 19-Jul-2024

namespace verifone_sdk

Enums

enum class NotificationType : int

Values:

enumerator WAITING_FOR_CARD
enumerator WAITING_FOR_CUSTOMER_APP_SELECTION
enumerator WAITING_FOR_ACCOUNT
enumerator WAITING_FOR_PIN
enumerator WAITING_FOR_TIP
enumerator WAITING_FOR_SURCHARGE
enumerator WAITING_FOR_CURRENCY
enumerator DEVICE_TAMPERED
enumerator WAITING_FOR_CASH
enumerator WAITING_FOR_SIGNATURE
enumerator WAITING_FOR_CARD_ENTRY
enumerator WAITING_FOR_EXPIRY_DATE
enumerator WAITING_FOR_CVV
enumerator TRANSACTION_OUTCOME

  • Provide transaction outcome earlier than final transaction response

enumerator CARD_PRESENTED
enumerator CARD_PROCESSING
enumerator REMOVE_CARD
enumerator CARD_REMOVED
enumerator HOST_STARTING

  • The communication with the host has started and is now in progress.

enumerator PERFORMING_RISK_MANAGEMENT

  • A stage during EMV processing

enumerator HOST_RESPONSE_RECEIVED
enumerator PRINTING_CASHIER_RECEIPT
enumerator PRINTING_CUSTOMER_RECEIPT
enumerator WAITING_FOR_CUSTOMER_INPUT

  • The payment application has requested some input from the customer and is currently waiting for their response.

enumerator CARD_EXPIRED_RETRY

  • The card has expired and the customer is prompted to retry.

enumerator CARD_FALLBACK_RETRY

  • The card presentation method must fallback to a different method and the customer is prompted to retry.

enumerator CARD_BAD_READ_NFC_RETRY

  • The card was unable to be read over NFC and the customer is prompted to retry.

enumerator CARD_BAD_READ_SWIPE_RETRY

  • The card was unable to be read when swiped and the customer is prompted to retry.

enumerator CARD_NOT_SUPPORTED

  • The presented card is not valid for requested operation

enumerator BEGIN_MAINTENANCE

  • The terminal is entering maintenance mode and will not be available until maintenance ends.

enumerator END_MAINTENANCE

  • The terminal has finished maintenance and is now available for use.

enumerator CONNECTION_LOST

  • The connection to the device was lost, and automatic connection recovery is in progress. A connection indicator or something similar can be altered in response to this event, but no retry or automatic error handling should happen. A different event will be fired with a status code of DEVICE_CONNECTION_LOST if the connection cannot be recovered. If the connection is automatically recovered, a notification with type CONNECTED will be sent.

enumerator CONNECTED

  • A terminal is connected.

enumerator SHUTDOWN

  • A terminal is shutdown.

enumerator OTHER

  • Some other type besides those listed above. Simply present the event message in this case.

enumerator INTERNAL

  • For internal/legacy POS support only

enumerator SALE_WAKE_UP

  • A payment terminal requests payment of a transaction.

enumerator SALE_ADMIN

  • A payment terminal performs an automatic administrative process.

enumerator NO_ACTIVE_REQUEST

  • A payment terminal does not currently have a request in progress.

enumerator DEVICE_INFORMATION_UPDATE

  • Device updated it’s configuration. call PaymentSdk#getDeviceInformation() to retrieve updated config.

enumerator SAF_STATUS_UPDATE

  • A payment terminal sends current SAF status after a transaction is added to or removed from SAF queue.

enumerator BEGIN_CONFIGURATION

  • The terminal is not ready and will be sending subsequent request for configuration.

enumerator END_CONFIGURATION

  • The terminal has received required configuration.

enumerator SAF_UPLOAD_FAILURE

  • SAF transaction upload to host has failed. call NotificationEvent#getInternalData() for error code.

Functions

constexpr std::string_view toString(const NotificationType &arg)

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo