Drop event ordering claim for full refunds

This commit is contained in:
envoyr committed 2026-11-06 19:31:19 +00:00
1 parent f5d63df9d2
commit 5a46add518
3 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@ final class EventType
public const ORDER_SHIPPED = 'order.shipped';
/**
* Money was given back for an order (a refund or a partial cancellation, with a credit note);
* see the order's `refunds` and `refunded_total`. A full refund also cancels the order
* (order.cancelled follows).
* see the order's `refunds` and `refunded_total`. A full refund also cancels the order,
* so order.cancelled is sent too; don't rely on the order of the two events.
*/
public const ORDER_REFUNDED = 'order.refunded';