# Paypal Fehler: COULD NOT CREATE CUSTOMER. ADDRESS IS MISSING

**URL:** <https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091>\
**Category:** Shopware 5\
**Created:** [4. Juli 2022 um 07:03 UTC](https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091 "2022-07-04T07:03:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [4. Juli 2022 um 07:03 UTC](https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091/1 "2022-07-04T07:03:07Z")

</div>

Moin,

in einem Kundenshop werden 2 Bestellungen nicht mehr angezeigt. Die Kundin wohllte über PayPal bestellen. Die Bestellung scheint aber nicht komplett durchgelaufen zu sein. Eine TransactionID ist nicht angelegt worden.

Im Log sehe ich hierzu folgene Meldung:

```auto
PayPal: SwagPaymentPayPalUnified\Components\Services\ExpressCheckout\CustomerService::createNewCustomer COULD NOT CREATE CUSTOMER. ADDRESS IS MISSING

```

**Was bedeutet das genau? Adressen der Kundin ist natürlich hinterlegt.**

In diesem Zusammenhang taucht noch ein Fehler auf:

```auto
{
  "message": "Client error: `POST https://api.paypal.com/v2/checkout/orders/1B746299TD049973K/capture` resulted in a `422 Unprocessable Entity` response:\n{\"name\":\"UNPROCESSABLE_ENTITY\",\"details\":[{\"issue\":\"ORDER_NOT_APPROVED\",\"description\":\"Payer has not yet approved the Or (truncated...)\n",
  "payload": "{\"name\":\"UNPROCESSABLE_ENTITY\",\"details\":[{\"issue\":\"ORDER_NOT_APPROVED\",\"description\":\"Payer has not yet approved the Order for payment. Please redirect the payer to the 'rel':'approve' url returned as part of the HATEOAS links within the Create Order call or provide a valid payment_source in the request.\"}],\"message\":\"The requested action could not be performed, semantically incorrect, or failed business validation.\",\"debug_id\":\"49190a6cf36c9\",\"links\":[{\"href\":\"https://developer.paypal.com/docs/api/orders/v2/#error-ORDER_NOT_APPROVED\",\"rel\":\"information_link\",\"method\":\"GET\"}]}"
}

```

Shop 5.7.11 / Paypal 4.2.0

Dennoch ist aber immer noch das Problem, dass die Bestellungen im Backend nicht zu sehen sind. In der der DB stehen sie aber drin.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [4. Juli 2022 um 08:30 UTC](https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091/2 "2022-07-04T08:30:15Z")

</div>

Hm, wenn ich die Bestellung per REST API abfrage, kommt die Meldung:

```auto
"message": "Order by id 810136 not found"

```

Ich verstehe es nicht, weil ich die Details zur Bestellung genau mit dieser ID in der DB sehe.

---

<div class="post-metadata">

**Author:** ![sacrofano](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sacrofano](https://forum.shopware.com/u/sacrofano)\
**Post date:** [4. Juli 2022 um 10:38 UTC](https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091/3 "2022-07-04T10:38:07Z")

</div>

Ich hatte mal ein ähnliches Problem, dass die UserId in s\_order\_billingaddress und s\_order\_shippingaddress nicht gesetzt war. Die Bestellung konnte im Backend nicht geladen werden. Vielleicht gibt dir das eine Richtung.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [4. Juli 2022 um 11:13 UTC](https://forum.shopware.com/t/paypal-fehler-could-not-create-customer-address-is-missing/95091/4 "2022-07-04T11:13:43Z")

</div>

Danke für deine Antwort, aber dieser Fall trifft hier nicht zu. Die UserID ist korrekt vorhanden. Es läuft wohl darauf hinaus, dass sich der Support dann anschauen muss.
