View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007885 | module PayPal Checkout | module PayPal checkout - sub | public | 2026-01-26 16:51 | 2026-02-03 10:06 |
| Reporter | mount7 | Assigned To | |||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.6.4 / 3.5.2 | ||||
| Target Version | 2.6.5 / 3.5.3 | Fixed in Version | 2.6.5 / 3.5.3 | ||
| Summary | 0007885: Bestellung bleibt im Status unfinished und verhindert durch Bestandreservierung Folgebestellungen | ||||
| Description | 1. Teil Wenn das Paypal Popup nicht ordentlich abgebrochen wird (Tab beenden oder über URL Shop URL laden) wird die aktuelle Bestellung nicht abgebrochen. Beim nächsten Versuch wird eine neue "NOT_FINISHED" Bestellung angelegt und nicht die vorhandene angepasst/ersetzt. Wenn dann ein Artikel mit Bestand 1 Teil der Bestellung war endet der zweite Bestellversuch mit ERROR_MESSAGE_ARTICLE_ARTICLE_NOT_BUYABLE. 2. Teil (bisher auf dem Testsystem nicht reproduzierbar) Im Admin sind Bestimmte Tabs dieser NOT_FINISHED Bestellung nicht aufrufbar (e.g. Bestellung/Artikel) [2026-01-26 16:15:29] OXID Logger.ERROR: GET https://api.paypal.com/v2/checkout/orders/XXXX returned: 404 Not Found Returned Message: The specified resource does not exist. Error Details: [{"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist. Please check the resource ID and try again."}] [stacktrace] #0 /vendor/oxid-solution-catalysts/paypal-client/src/Service/BaseService.php(114): OxidSolutionCatalysts\\PayPalApi\\Service\\BaseService->send() #1 /vendor/oxid-solution-catalysts/paypal-client/generated/Service/Orders.php(81): OxidSolutionCatalysts\\PayPalApi\\Service\\BaseService->sendWithRequestResponseLogging() #2 /vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(418): OxidSolutionCatalysts\\PayPalApi\\Service\\Orders->showOrderDetails() #3 /vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(638): OxidSolutionCatalysts\\PayPal\\Model\\Order->getPayPalCheckoutOrder() #4 /vendor/oxid-solution-catalysts/paypal-module/src/Controller/Admin/OrderArticle.php(29): OxidSolutionCatalysts\\PayPal\\Model\\Order->getOrderPaymentCapture() #5 /vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(471): OxidSolutionCatalysts\\PayPal\\Controller\\Admin\\OrderArticle->render() | ||||
| Steps To Reproduce | 1. Warenkorb mit einem Artikel der Restbestand 1 hat 2. Checkout (paypal) 3. im Order Schritt: Paypal Button klicken 4. Warten bis (createShopOrder und createPayPalOrder) 5. Über URL auf Startseite wechseln (vermutlich auch einfach einen neuen Tab benutzen) 6. Wieder Checkout durchführen aber diesmal im Paypal Popup alles Bestätigen 7. Thankyou Page Fehler => Redirekt auf Startseite 8. Im Admin Bestellungen prüfen 9. Nachdem der cleanup Cronjob ausgeführt wurde gibt es nur noch eine NOT_FINISHED Bestellung 10. Zahlung des Kunden existiert dann allerdings auch (aber ohne passende Bestellung) | ||||
| Additional Information | access.log (von einem User) 24/Jan/2026:14:57:46 +0100 302 POST /index.php? 24/Jan/2026:14:57:46 +0100 200 GET /index.php?cl=order 24/Jan/2026:14:59:02 +0100 200 POST /index.php?cl=ajaxpay&fnc=createShopOrder&aid=&stoken=669E9F4A 24/Jan/2026:14:59:08 +0100 200 POST /index.php?cl=ajaxpay&fnc=createPayPalOrder&aid=&stoken=669E9F4A 24/Jan/2026:15:01:05 +0100 301 GET / 24/Jan/2026:15:01:05 +0100 200 GET / 24/Jan/2026:15:01:06 +0100 200 GET /index.php?cl=oxwminibasket&calc=true 24/Jan/2026:15:01:09 +0100 200 GET /index.php?cl=basket 24/Jan/2026:15:01:10 +0100 200 GET /index.php?cl=oxwminibasket&calc=true 24/Jan/2026:15:01:27 +0100 200 POST /index.php? 24/Jan/2026:15:01:32 +0100 302 POST /index.php? 24/Jan/2026:15:01:32 +0100 200 GET /index.php?cl=payment 24/Jan/2026:15:01:37 +0100 302 POST /index.php? 24/Jan/2026:15:01:37 +0100 200 GET /index.php?cl=order 24/Jan/2026:15:01:45 +0100 200 POST /index.php?cl=ajaxpay&fnc=createShopOrder&aid=&stoken=669E9F4A 24/Jan/2026:15:01:45 +0100 200 POST /index.php?cl=ajaxpay&fnc=createPayPalOrder&aid=&stoken=669E9F4A 24/Jan/2026:15:04:03 +0100 200 POST /index.php?cl=ajaxpay&fnc=captureOrder&aid=&stoken=669E9F4A 24/Jan/2026:15:04:09 +0100 302 GET /index.php?cl=thankyou&aid=&stoken=669E9F4A 24/Jan/2026:15:04:09 +0100 200 GET /index.php?&cl=start&redirected=1 | ||||
| Tags | No tags attached. | ||||
|
|
@mount7 thanks for the pull-request. We reviewed it and adopted large parts of it: https://github.com/OXID-eSales/paypal-module/commit/dd1d3d16d2ad43c4f937cfda7b988a5657ccce24 (OXID7, we have also a seperate Commit for O6) |