Skip to main content

In-Person Payments

AuthorizationResult.hpp

Last updated: 12-Jul-2024

namespace verifone_sdk

Enums

enum class AuthorizationResult : int

Values:

enumerator AUTHORIZED

  • The payment was approved

enumerator DECLINED

  • The payment was rejected

enumerator USER_CANCELLED

  • The user cancelled the payment

enumerator CANCELLED_EXTERNALLY

  • The payment was cancelled externally

enumerator AUTHORIZED_EXTERNALLY

  • The payment was approved using a manual, external method, such as approving over the phone.

enumerator CASH_VERIFIED

  • Used when paid by cash

enumerator VOIDED

  • This represents a payment that was voided. Use getReferencePaymentId() to get the original payment ID.

enumerator VOID_DECLINED

  • The reference payment could not be voided.

enumerator REFUNDED

  • This represents a payment that was refunded. Use getReferencePaymentId() to get the original payment ID.

enumerator REFUND_DECLINED

  • The reference payment could not be refunded.

enumerator IN_PROGRESS

  • For some payment types, the final status will need to be obtained at a later time

enumerator MERCHANT_ACTION_REQUIRED

  • The payment got rejected and a merchant action is required.

enumerator DEVICE_CANCELLED

  • Payment doesn’t go through because of terminal error.

enumerator HOST_RESPONSE_TIMEOUT

  • Payment doesn’t go through if the host is not responding to the terminal on time.

enumerator REVERSED

  • Authorization not complete due to timeout, a Time Out Reversal message exchanged with host

Functions

constexpr std::string_view toString(const AuthorizationResult &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