Module: TbCommerce::Transaction::Status

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

Overview

Transaction status

Status describes the current state of a transaction

  • Pending: The transaction is newly created

  • 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'
CAPTURED =
'captured'
FAIL =
'fail'
VOIDED =
'voided'
REFUNDED =
'refunded'