← Shopware 6.4.5.1

Shopware 6.4.5.1 order_transaction

Payment transactions for an order — each with a payment method and transaction state.

Columns

10 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
version_id binary(16) NO Primary Key
order_id binary(16) NO Index Foreign Key → order.id
order_version_id binary(16) NO Foreign Key → order.version_id
state_id binary(16) NO Index Foreign Key → state_machine_state.id
payment_method_id binary(16) NO Index Foreign Key → payment_method.id
amount longtext NO
custom_fields longtext YES
created_at datetime(3) NO
updated_at datetime(3) YES

Indexes

4 indexes

Index Name Columns Unique
fk.order_transaction.order_id order_id,order_version_id No
fk.order_transaction.payment_method_id payment_method_id No
idx.state_index state_id No
PRIMARY id,version_id Yes

Relations (from this table)

4 relations

Local Field Foreign Table Foreign Field
order_id order id
order_version_id order version_id
payment_method_id payment_method id
state_id state_machine_state id