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)
Rate this article: