Module: TbCheckout::Transaction::Status

Defined in:
app/models/tb_checkout/transaction.rb

Overview

Transaction status

Status describes the current state of a transaction

  • Pending: The transaction is newly created

  • Authorized: The transaction has been submitted to the payment gateway and successfully authorized

  • Captured: The transaction has been submitted to the payment gateway and the purchase is finalized

  • Fail: A failure code was received from the payment gateway

  • Voided: The transaction is voided in the gateway

  • Refunded: The transaction is refunded in the gateway

Constant Summary collapse

PENDING =
'pending'
AUTHORIZED =
'authorized'
CAPTURED =
'captured'
FAIL =
'fail'
VOIDED =
'voided'
REFUNDED =
'refunded'