Shopware 6.7.8.0 order_transaction
Payment transactions for an order — each with a payment method and transaction state.
| 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 | json | NO | |
| custom_fields | json | YES | |
| created_at | datetime(3) | NO | Index |
| updated_at | datetime(3) | YES | |
| validation_data | json | YES | |
| 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.order_transaction_created_updated | created_at,updated_at | No |
| idx.state_index | state_id | No |
| PRIMARY | id,version_id | Yes |
Relations (from this table)
4 relations
Relations (to this table)
2 relations