---
title: "Breaking: #508 - Replace ParserUtility::parseServices by DI"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:breaking-508-replace-parserutility-parseservices-by-di@12.1"
source: "Changelog/9.0/Breaking-508-ReplaceParserUtilityParseServicesByDI.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Breaking: #508 - Replace ParserUtility::parseServices by DI {#breaking-508-replace-parserutility-parseservices-by-di}

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

## Description {#description}

The existing `ExtcodeCartUtilityParserUtility::parseServices()` used a
a TypoScript Configuration to allow to use an own implementation to parse and
provide available payment and shipping methods or special options.
The change removes the `ParserUtility` class and injecting the following
services:
\- `ExtcodeCartServicePaymentMethodsServiceInterface`,
\- `ExtcodeCartServiceShippingMethodsServiceInterface`,
\- `ExtcodeCartServiceSpecialOptionsServiceInterface`
instead.

## Affected Installations {#affected-installations}

All installations where
\- `plugin.tx_cart.payments.className`,
\- `plugin.tx_cart.shippings.className`,
\- `plugin.tx_cart.specials.className`
are used to replace the default services.

## Migration {#migration}

Remove the old configuration from TypoScript.
Add an entry to your `Services.yaml` or `Services.php` and configure your
implementation of the service interface for the constructor arguments.
