---
title: "Breaking: #288 - Use PSR-14 Events for Order Finishers"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:breaking-288-use-psr-14-events-for-order-finishers@12.1"
source: "Changelog/7.0/Breaking-288-UsePsrEventsForOrderFinishers.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Breaking: #288 - Use PSR-14 Events for Order Finishers {#breaking-288-use-psr-14-events-for-order-finishers}

See [Issue 288](https://github.com/extcode/cart/issues/288)

## Description {#description}

Instead of defining the finishers for processing orders via TypoScript, the `ProcessOrderCreateEvent` event is now
triggered at this point.
The previous finishers are registered accordingly to this event via Service.yaml.
This offers the advantage that you can define with `before` and `after`, which dependencies must be fulfilled for
the order, without presetting them completely.

Two finishers were also removed in the process. One is the StockFinisher, which each product extension must register
for itself.

On the other hand, the PaymentFinisher was also removed. Payment provider extensions must now trigger their own event
and register all required finishers for this event themselves. This gives more flexibility to the payment provider
extensions. For example, when to call the finishers for stock management.

## Affected Installations {#affected-installations}

For installations that do not have their own finishers registered, no adjustments should be required.
Installations that have called their own finishers in the ordering process must be registered to the new event.

## Migration {#migration}

The finisher class must bring an \_\_invoke() method and gets passed an appropriate event object.

Furthermore, the finisher must be configured in the Service.yaml to the event `ProcessOrderCreateEvent`.
The TypoScript configuration can be removed.
