TransactionEventReport Object
Report the event for the transaction.
Requires the following permissions: OWNER and HANDLE_PAYMENTS for apps, HANDLE_PAYMENTS for staff users. Staff user cannot update a transaction that is owned by the app.
Triggers the following webhook events:
- TRANSACTION_ITEM_METADATA_UPDATED (async): Optionally called when transaction’s metadata was updated.
- CHECKOUT_FULLY_PAID (async): Optionally called when the checkout charge status changed to
FULLorOVERCHARGED. - ORDER_UPDATED (async): Optionally called when the transaction is related to the order and the order was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [TRANSACTION_ITEM_METADATA_UPDATED, CHECKOUT_FULLY_PAID, ORDER_UPDATED], syncEvents: [])
type TransactionEventReport {
alreadyProcessed: Boolean
transaction: TransactionItem
transactionEvent: TransactionEvent
errors: [TransactionEventReportError!]!
}
Fields
alreadyProcessed
alreadyProcessed · Boolean
Defines if the reported event hasn’t been processed earlier.
transaction
transaction · TransactionItem
The transaction related to the reported event.
transactionEvent
transactionEvent · TransactionEvent
The event assigned to this report. if alreadyProcessed is set to true, the previously processed event will be returned.
errors
errors · [TransactionEventReportError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.