Skip to content

Conversation

@avstudnitz
Copy link
Contributor

The reason for this change is a situation I experienced:

  • Create an order
  • In the same request, mark this order as paid

In the previous implementation, only the sales.order.created event was emitted, and the sales.order.paid was never emitted, because only the first event was emitted per order per request.

My change means that each event can be emitted once per request per order.

@avstudnitz avstudnitz self-assigned this Feb 5, 2025
@avstudnitz avstudnitz requested review from a team as code owners February 5, 2025 08:59
@avstudnitz avstudnitz merged commit a0ca5e4 into main Feb 6, 2025
2 checks passed
@avstudnitz avstudnitz deleted the feature/multiple-order-events-single-request branch February 6, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants