# PayPal Fehlermeldungen in .log

**URL:** <https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743>\
**Category:** Shopware 6 (German)\
**Created:** [17. April 2024 um 08:36 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743 "2024-04-17T08:36:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc\_E](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marc\_E](https://forum.shopware.com/u/Marc_E)\
**Post date:** [17. April 2024 um 08:36 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743/1 "2024-04-17T08:36:39Z")

</div>

Hallo,

auf einer SW6 Migrationsumgebung wo wir die PayPal Sandbox aktiviert haben werden unzählige PayPal-Fehlermeldungen eingetragen die wie folgt aussehen:

`[2024-04-16T22:55:36.280260+00:00] paypal.ERROR: [PayPal Webhook] Given webhook resource data does not contain needed custom ID {"type":"PAYMENT.CAPTURE.COMPLETED","webhook":"{\"id\":\"WH-54P73628H80017147-0AU800786T5550742\",\"resource_type\":\"capture\",\"event_type\":\"PAYMENT.CAPTURE.COMPLETED\",\"summary\":\"Payment completed for EUR 25.8 EUR\",\"resource\":{\"invoice_id\":\"107048\",\"note_to_payer\":null,\"seller_protection\":{\"status\":\"ELIGIBLE\",\"dispute_categories\":[\"ITEM_NOT_RECEIVED\",\"UNAUTHORIZED_TRANSACTION\"]},\"final_capture\":true,\"seller_receivable_breakdown\":{\"gross_amount\":{\"currency_code\":\"EUR\",\"value\":\"25.80\"},\"paypal_fee\":{\"currency_code\":\"EUR\",\"value\":\"1.16\"},\"net_amount\":{\"currency_code\":\"EUR\",\"value\":\"24.64\"}},\"status\":\"COMPLETED\",\"id\":\"6DL87574K2068120H\",\"amount\":{\"currency_code\":\"EUR\",\"value\":\"25.80\"},\"custom_id\":null,\"links\":[{\"href\":\"https:\\/\\/api.paypal.com\\/v2\\/payments\\/captures\\/6DL87574K2068120H\",\"rel\":\"self\",\"method\":\"GET\",\"enc_type\":null},{\"href\":\"https:\\/\\/api.paypal.com\\/v2\\/payments\\/captures\\/6DL87574K2068120H\\/refund\",\"rel\":\"refund\",\"method\":\"POST\",\"enc_type\":null},{\"href\":\"https:\\/\\/api.paypal.com\\/v2\\/checkout\\/orders\\/5SA543048K482142H\",\"rel\":\"up\",\"method\":\"GET\",\"enc_type\":null}],\"create_time\":\"2024-04-15T08:18:51Z\",\"update_time\":\"2024-04-15T08:18:51Z\"},\"create_time\":\"2024-04-15T08:18:56.590Z\",\"links\":[{\"href\":\"https:\\/\\/api.paypal.com\\/v1\\/notifications\\/webhooks-events\\/WH-54P73628H80017147-0AU800786T5550742\",\"rel\":\"self\",\"method\":\"GET\",\"enc_type\":null},{\"href\":\"https:\\/\\/api.paypal.com\\/v1\\/notifications\\/webhooks-events\\/WH-54P73628H80017147-0AU800786T5550742\\/resend\",\"rel\":\"resend\",\"method\":\"POST\",\"enc_type\":null}],\"event_version\":\"1.0\",\"resource_version\":\"2.0\"}"} {"url":"/sw6/public/api/_action/paypal/webhook/execute?sw-token=6EaDsaYnRdwauqnb0XaH5XRXAVVkEOjJ","http_method":"POST","server":"website.de","file":"/html/shopware/sw6/custom/plugins/SwagPayPal/src/Webhook/WebhookController.php","line":179,"class":"Swag\\PayPal\\Webhook\\WebhookController","callType":"->","function":"tryToExecuteWebhook"}`

Kann da jemand was dazu sagen? Danke.

---

<div class="post-metadata">

**Author:** ![mstegmeyer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mstegmeyer/32/23791_2.png) [@mstegmeyer](https://forum.shopware.com/u/mstegmeyer)\
**Post date:** [17. April 2024 um 12:25 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743/2 "2024-04-17T12:25:22Z")

</div>

Es kommen Webhooks zu Zahlungen an, die Shopware nicht identifizieren kann. Shopware setzt nämlich eine Custom-ID ein, die Rückschlüsse auf die Bestellung in Shopware ziehen lässt. Diese fehlt bei diesen PayPal-Zahlungen demnach, weshalb dieser Fehler auftritt.

Vermutlich wird dieser Sandbox-Account auch noch außerhalb von Shopware verwendet?

Viele Grüße aus Schöppingen  
Max Stegmeyer

---

<div class="post-metadata">

**Author:** ![Marc\_E](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marc\_E](https://forum.shopware.com/u/Marc_E)\
**Post date:** [18. April 2024 um 06:00 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743/3 "2024-04-18T06:00:23Z")

</div>

Die Bestellungen wurden aus einem Shopware 5 Shop migriert. Ansonsten wird der Sandbox-Account nicht außerhalb von Shopware verwendet.

Gruß

---

<div class="post-metadata">

**Author:** ![mstegmeyer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mstegmeyer/32/23791_2.png) [@mstegmeyer](https://forum.shopware.com/u/mstegmeyer)\
**Post date:** [18. April 2024 um 11:31 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743/4 "2024-04-18T11:31:33Z")

</div>

Ja, bei migrieren Bestellungen klappt das auch nicht, da die Referenz hier auch nicht zusammenpasst. Aber macht euch keine Sorgen darum, die Statuspflege von Sandbox-Zahlungen ist ja nun nicht besonders wichtig.

---

<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:** [18. Mai 2024 um 11:31 UTC](https://forum.shopware.com/t/paypal-fehlermeldungen-in-log/103743/5 "2024-05-18T11:31:41Z")

</div>

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