Duplicate Orders in Admin

Shopware 5.7.14 Plugin 4.3.3

Many orders are created registered twice.

First attempt fails but order with number and order confirmation is generated.
Next 2nd order is generated successfully.

Current example:

Typical error messages are these:

PayPal: Could not capture/authorize PayPal order due to a communication failure

{

„message“: "Client error: POST < /v2/checkout/orders/9MY04136WL912933W/capture> resulted in a 422 Unprocessable Entityresponse:\n{„name“:„UNPROCESSABLE_ENTITY“,„details“:[{„issue“:„PAYER_ACTION_REQUIRED“,„description“:„Payer needs to perform the fol (truncated…)\n“,

„payload“: "{„name“:„UNPROCESSABLE_ENTITY“,„details“:[

{„issue“:„PAYER_ACTION_REQUIRED“,„description“:„Payer needs to perform the following action before proceeding with payment.“}

],„message“:„The requested action could not be performed, semantically incorrect, or failed business validation.“,„debug_id“:„c7385c797a825“,„links“:[

{„href“:[[ /docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED%5C%7Cs:///docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED%5C%5D,%5C%22rel%5C%22:%5C%22information_link%5C%22,%5C%22method%5C%22:%5C%22GET%5C%22%7D%5D%7D%22|s:///docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED%5C%7Cs:///docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED%5C%5D,%5C%22rel%5C%22:%5C%22information_link%5C%22,%5C%22method%5C%22:%5C%22GET%5C%22%7D%5D%7D%22] }

In the store the order number xxx925304


sofort

Typical error messages are these:

{
„message“: "Client error: POST < /v2/checkout/orders/3JX70838D84564012/capture> resulted in a 422 Unprocessable Entityresponse:\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“:„ecdf0c41308c5“,„links“:[{„href“:" /docs/api/orders/v2/#error-ORDER_NOT_APPROVED%5C%22,%5C%22rel%5C%22:%5C%22information_link%5C%22,%5C%22method%5C%22:%5C%22GET%5C%22%7D%5D%7D%22
}

die Zahlung ist jedoch 2 mal abgebucht vom Kunden jedoch nicht beim Händler gutgeschrieben.

paypal

{
„message“: "Client error: POST < /v2/checkout/orders/2LF60690795323544/capture> resulted in a 422 Unprocessable Entityresponse:\n{„name“:„UNPROCESSABLE_ENTITY“,„details“:[{„issue“:„PAYER_ACTION_REQUIRED“,„description“:„Payer needs to perform the fol (truncated…)\n“,
„payload“: "{„name“:„UNPROCESSABLE_ENTITY“,„details“:[

{„issue“:„PAYER_ACTION_REQUIRED“,„description“:„Payer needs to perform the following action before proceeding with payment.“}

],„message“:„The requested action could not be performed, semantically incorrect, or failed business validation.“,„debug_id“:„77e2e5f17f29c“,„links“:[{„href“:"//docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED%5C%22,%5C%22rel%5C%22:%5C%22information_link%5C%22,%5C%22method%5C%22:%5C%22GET%5C%22%7D%5D%7D%22
}

Hi,
wir haben genau das identische Problem.
Shopware legt fast immer 2 Bestellungen an. Die erste scheint abzubrechen ohne Transaktionsnummer, kurz danach wird automatisch eine neue Order angelegt, mit Transaktionsnummer.