# Shopware 6.6 mit Paypal

**URL:** <https://forum.shopware.com/t/shopware-6-6-mit-paypal/107178>\
**Category:** Shopware 6 (German)\
**Created:** [8. Mai 2025 um 08:50 UTC](https://forum.shopware.com/t/shopware-6-6-mit-paypal/107178 "2025-05-08T08:50:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nilik](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/nilik/32/24768_2.png) [@Nilik](https://forum.shopware.com/u/Nilik)\
**Post date:** [8. Mai 2025 um 08:50 UTC](https://forum.shopware.com/t/shopware-6-6-mit-paypal/107178/1 "2025-05-08T08:50:31Z")

</div>

Hallo,

ich habe ein SW-Update von Version 6.4 auf 6.6 gemacht. Auch das Paypal-Plugin wurde auf die aktuellste Version gebracht.

Wenn ich das Paypal-Plugin aktiviere, erhalte ich nur auf der Artikeldetailseite folgende Fehlermeldung:

```auto
UndefinedMethodError
HTTP 500 Internal Server Error
Attempted to call an undefined method named "getParentId" of class "Shopware\Core\Framework\DataAbstractionLayer\PartialEntity".
Symfony\Component\ErrorHandler\Error\ UndefinedMethodError
in custom/plugins/SwagPayPal/src/Checkout/ExpressCheckout/ExpressCheckoutSubscriber.php (line 174)

            $productIds = [];
            $products = $event->getResult()->getEntities();
            foreach ($products as $product) {
                $productIds[] = $product->getId();
                $productIds[] = $product->getParentId();
            }
            $excluded = $this->excludedProductValidator->findExcludedProducts(\array_filter($productIds), $event->getSalesChannelContext());
            foreach ($products as $product) {

in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> addExcludedProductsToSearchResult (line 115) 

```

Ich bin da etwas ratlos, was ich dagegen machen kann.

---

<div class="post-metadata">

**Author:** ![Nilik](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/nilik/32/24768_2.png) [@Nilik](https://forum.shopware.com/u/Nilik)\
**Post date:** [9. Mai 2025 um 14:03 UTC](https://forum.shopware.com/t/shopware-6-6-mit-paypal/107178/2 "2025-05-09T14:03:33Z")

</div>

Das lag am Plugin „Cross Selling automatisch ähnliche Artikel anzeigen“, dass die Fehler verursachte.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [8. Juni 2025 um 14:04 UTC](https://forum.shopware.com/t/shopware-6-6-mit-paypal/107178/3 "2025-06-08T14:04:25Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
