MageSmith

🛒 Magento_Sales · engine innodb

sales_payment_transaction

Sales Payment Transaction

Neighbourhood (1-hop foreign-key graph — showing 2 of 4)

flowchart LR
  c["sales_payment_transaction"]:::center
  n0["sales_order"]
  click n0 "/schema/table/sales_order"
  n0 -- order_id --> c
  n1["sales_order_payment"]
  click n1 "/schema/table/sales_order_payment"
  n1 -- payment_id --> c
  click c "/schema/table/sales_payment_transaction"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (10)

NameTypeNullDefaultComment
transaction_id PKint unsignednoTransaction ID
parent_id int unsignedyesParent ID
order_id int unsignedno0Order ID
payment_id int unsignedno0Payment ID
txn_id varchar(100) yesTxn ID
parent_txn_id varchar(100) yesParent Txn ID
txn_type varchar(15) yesTxn Type
is_closed smallint unsignedno1Is Closed
additional_information blob yesAdditional Information
created_at timestamp noCURRENT_TIMESTAMPCreated At

Keys & indexes

Primary key: transaction_id

Unique

  • SALES_PAYMENT_TRANSACTION_ORDER_ID_PAYMENT_ID_TXN_ID (order_id, payment_id, txn_id)

Indexes

  • SALES_PAYMENT_TRANSACTION_PARENT_ID (parent_id) btree
  • SALES_PAYMENT_TRANSACTION_PAYMENT_ID (payment_id) btree

References (3)

Referenced by (1)