RefundTriggered
Fires when a whole order is reversed through cancellation, refund, or deletion.
WordPress plugin
Last updated: October 28, 2026
RefundTriggered fires when a whole completed order is reversed. This covers cancellations, full refunds, and order deletions. It also fires when refunds of part of an order leave it worth nothing. Extensions typically bind this event to multiple platform hooks to catch all the ways an order can be undone.
A refund of part of an order fires PartialRefundReceived (Siren\Commerce\Events\PartialRefundReceived) instead, with the transaction, the source, the refunded and order amounts when known, a reason, and optional refund details. Siren writes that refund on the transaction as refund lines and works the sale’s unpaid rewards out again, as How Refunds Work describes.
The event ID is refund_triggered, and its fully qualified class is Siren\Commerce\Events\RefundTriggered.
What does this event carry?
Like TransactionCompleted, this event carries the Transaction model. The transaction record contains all the context needed to identify the conversions and metrics that need to be reversed. getRefund() returns optional RefundDetails with what the platform said about the refund, such as its id, or null.
How does the pipeline react?
Four core listeners react when a refund fires. CancelConversions rejects all conversions tied to the transaction, which rejects their obligations that aren’t in a sent payout. CancelRefundedTransactions sets the transaction’s status to cancelled. RecordWholeRefundLines writes whatever the order had left as refund lines on the transaction and raises RefundRecorded. SubtractRefundedValueFromMetrics adjusts the incentive and distribution metric totals so that collaborator performance numbers stay accurate.
Together, these listeners ensure that a refund cleanly unwinds the entire chain of records that the original sale created. For a user-level walkthrough of how refunds propagate through the system, see How Refunds Work.
For the full lifecycle of commerce events and how they connect to the rest of the attribution pipeline, see the Commerce Events overview.