---
title: "Events"
manual: "Cart PayPal"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart-paypal:events@main"
source: "Developer/Events/Index.rst"
rendered: "2026-11-22T22:46:09+00:00"
---

# Events {#events}

Cart PayPal stops the `ExtcodeCartEventOrderPaymentEvent` of Cart, so the
`ExtcodeCartEventOrderFinishEvent` of Cart is not dispatched. Instead
Cart PayPal dispatches its own events after the payment.

-   **`ExtcodeCartPaypalEventOrderFinishEvent`**

    Dispatched once when the payment is completed. Cart PayPal registers the
    email listener of Cart for it.

-   **`ExtcodeCartPaypalEventOrderCancelEvent`**

    Dispatched once when the customer cancels the payment and returns to the
    cart.

The status of the payment is changed with the `StatusChangeService` of Cart,
its `BeforeStatusChangeEvent` and `AfterStatusChangeEvent` are dispatched as
well, with the initiator `cart_paypal`.
