---
title: "Feature: #866 - Status methods of the payment and the shipping of an order"
manual: "Cart"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart:feature-866-status-methods-of-the-payment-and-the-shipping-of-an-order@main"
source: "Changelog/12.5/Feature-866-OrderStatusMethods.rst"
rendered: "2026-11-22T21:17:38+00:00"
---

# Feature: #866 - Status methods of the payment and the shipping of an order {#feature-866-status-methods-of-the-payment-and-the-shipping-of-an-order}

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

## Description {#description}

The payment (`\Extcode\Cart\Domain\Model\Order\Payment`) and the shipping
(`\Extcode\Cart\Domain\Model\Order\Shipping`) of an order have new methods
for the status registered by EXT:cart:

| Service | Methods |
| --- | --- |
| payment | `isOpen()`, `isPending()`, `isPaid()`, `isCanceled()` |
| shipping | `isOpen()`, `isOnHold()`, `isInProcess()`, `isShipped()` |

They compare the status with the constants of
`\Extcode\Cart\OrderStatus\PaymentStatus` and
`\Extcode\Cart\OrderStatus\ShippingStatus`. Status registered by other
extensions have no method, compare them with `getStatus()`. The status is
still changed with the `StatusChangeService`.

See [Payment and shipping status](https://docs.typo3.org/permalink/extcode/cart:developer-order-status@main).

## Impact {#impact}

Extensions, e.g. for payment providers, use the methods instead of comparing
the status with strings or constants themselves.
